mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 253818 - Remove NS_ASSERTION from PresShell::EndLoad.
r+sr=roc p=cst@andrew.cmu.edu (Chris Thomas)
This commit is contained in:
parent
54b6ffc4b5
commit
60f70552b3
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user