Merge backout of changeset f60b3bbfa8ce (debugging for bug 536603)

This commit is contained in:
L. David Baron 2009-12-25 22:29:21 -05:00
Родитель 059765dea4 438d179056
Коммит f5f67f5327
1 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -1942,9 +1942,6 @@ CSSLoaderImpl::LoadChildSheet(nsICSSStyleSheet* aParentSheet,
// Houston, we have a loop, blow off this child and pretend this never
// happened
LOG_ERROR((" @import cycle detected, dropping load"));
#ifdef NS_BUILD_REFCNT_LOGGING
printf("@import cycle detected, dropping load");
#endif
return NS_OK;
}
data = data->mParentData;
@ -2250,11 +2247,6 @@ CSSLoaderImpl::Stop()
#endif
}
mPostedEvents.Clear();
#ifdef NS_BUILD_REFCNT_LOGGING
if (arr.Length() != 0) {
printf("nsCSSLoader::Stop: stopping %d loads\n", int(arr.Length()));
}
#endif
mDatasToNotifyOn += arr.Length();
for (i = 0; i < arr.Length(); ++i) {
@ -2338,11 +2330,6 @@ CSSLoaderImpl::StopLoadingSheet(nsIURI* aURL)
}
mPostedEvents.Clear();
#ifdef NS_BUILD_REFCNT_LOGGING
if (arr.Length() != 0) {
printf("nsCSSLoader::StopLoadingSheet: stopping %d loads\n", int(arr.Length()));
}
#endif
mDatasToNotifyOn += arr.Length();
for (i = 0; i < arr.Length(); ++i) {
--mDatasToNotifyOn;