Remove bogus assertion I put in that gets triggered by XSLT code. r=waterson sr=hyatt b=93414

This commit is contained in:
dbaron%fas.harvard.edu 2001-08-03 21:11:14 +00:00
Родитель 6c8b46593e
Коммит 9c05bd6202
2 изменённых файлов: 0 добавлений и 38 удалений

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

@ -1650,25 +1650,6 @@ PresShell::Destroy()
mPaintSuppressionTimer = nsnull;
}
#ifdef DEBUG
{
nsCOMPtr<nsISupports> container;
mPresContext->GetContainer(getter_AddRefs(container));
if (container) {
nsCOMPtr<nsIDocShell> cvc(do_QueryInterface(container));
if (cvc) {
nsCOMPtr<nsIContentViewer> cv;
cvc->GetContentViewer(getter_AddRefs(cv));
if (cv) {
nsCOMPtr<nsIContentViewer> prevViewer;
cv->GetPreviousViewer(getter_AddRefs(prevViewer));
NS_ASSERTION(!prevViewer, "still have a previous viewer!");
}
}
}
}
#endif
// release our pref style sheet, if we have one still
ClearPreferenceStyleRules();

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

@ -1650,25 +1650,6 @@ PresShell::Destroy()
mPaintSuppressionTimer = nsnull;
}
#ifdef DEBUG
{
nsCOMPtr<nsISupports> container;
mPresContext->GetContainer(getter_AddRefs(container));
if (container) {
nsCOMPtr<nsIDocShell> cvc(do_QueryInterface(container));
if (cvc) {
nsCOMPtr<nsIContentViewer> cv;
cvc->GetContentViewer(getter_AddRefs(cv));
if (cv) {
nsCOMPtr<nsIContentViewer> prevViewer;
cv->GetPreviousViewer(getter_AddRefs(prevViewer));
NS_ASSERTION(!prevViewer, "still have a previous viewer!");
}
}
}
}
#endif
// release our pref style sheet, if we have one still
ClearPreferenceStyleRules();