Partial backout of changeset cfc553938038 (bug 463042) in order to fix bug 468167, "Deleting selected top of document (from below) no longer scrolls what remains into view".

This commit is contained in:
Markus Stange 2008-12-07 11:19:47 +01:00
parent 1c1214a195
commit 05944a7f56

View File

@ -1910,8 +1910,7 @@ void nsGfxScrollFrameInner::CurPosAttributeChanged(nsIContent* aContent)
InternalScrollPositionDidChange(curPosX, curPosY);
mFrameInitiatedScroll = PR_FALSE;
}
ScrollbarChanged(mOuter->PresContext(), x, y,
isSmooth ? NS_VMREFRESH_SMOOTHSCROLL : NS_VMREFRESH_DEFERRED);
ScrollbarChanged(mOuter->PresContext(), x, y, isSmooth ? NS_VMREFRESH_SMOOTHSCROLL : 0);
}
}