Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.

r+sr=roc
p=cst@andrew.cmu.edu (Chris Thomas)
This commit is contained in:
silver%warwickcompsoc.co.uk 2004-10-20 16:45:38 +00:00
parent 54b6ffc4b5
commit 60f70552b3
2 changed files with 0 additions and 2 deletions

View File

@ -3517,7 +3517,6 @@ PresShell::EndLoad(nsIDocument *aDocument)
if (scrollFrame) {
nsIScrollableFrame* scrollableFrame;
CallQueryInterface(scrollFrame, &scrollableFrame);
NS_ASSERTION(scrollableFrame, "RootScrollFrame is not scrollable?");
if (scrollableFrame) {
FrameManager()->RestoreFrameStateFor(scrollFrame, historyState,
nsIStatefulFrame::eDocumentScrollState);

View File

@ -3517,7 +3517,6 @@ PresShell::EndLoad(nsIDocument *aDocument)
if (scrollFrame) {
nsIScrollableFrame* scrollableFrame;
CallQueryInterface(scrollFrame, &scrollableFrame);
NS_ASSERTION(scrollableFrame, "RootScrollFrame is not scrollable?");
if (scrollableFrame) {
FrameManager()->RestoreFrameStateFor(scrollFrame, historyState,
nsIStatefulFrame::eDocumentScrollState);