зеркало из https://github.com/mozilla/pjs.git
Bug 599113. Part 2. Remove unused parameter to nsGfxScrollFrameInner::ScrollVisual. r=roc
This commit is contained in:
Родитель
616dfe5b4a
Коммит
76a0d0a6ac
|
@ -1575,7 +1575,7 @@ void nsGfxScrollFrameInner::MarkActive()
|
|||
}
|
||||
}
|
||||
|
||||
void nsGfxScrollFrameInner::ScrollVisual(nsIntPoint aPixDelta)
|
||||
void nsGfxScrollFrameInner::ScrollVisual()
|
||||
{
|
||||
nsRootPresContext* rootPresContext = mOuter->PresContext()->GetRootPresContext();
|
||||
if (!rootPresContext) {
|
||||
|
@ -1665,7 +1665,7 @@ nsGfxScrollFrameInner::ScrollToImpl(nsPoint aPt)
|
|||
mScrolledFrame->SetPosition(mScrollPort.TopLeft() - pt);
|
||||
|
||||
// We pass in the amount to move visually
|
||||
ScrollVisual(curPosDevPx - ptDevPx);
|
||||
ScrollVisual();
|
||||
|
||||
presContext->PresShell()->SynthesizeMouseMove(PR_TRUE);
|
||||
UpdateScrollbarPosition();
|
||||
|
|
|
@ -154,7 +154,7 @@ public:
|
|||
static void AsyncScrollCallback(nsITimer *aTimer, void* anInstance);
|
||||
void ScrollTo(nsPoint aScrollPosition, nsIScrollableFrame::ScrollMode aMode);
|
||||
void ScrollToImpl(nsPoint aScrollPosition);
|
||||
void ScrollVisual(nsIntPoint aPixDelta);
|
||||
void ScrollVisual();
|
||||
void ScrollBy(nsIntPoint aDelta, nsIScrollableFrame::ScrollUnit aUnit,
|
||||
nsIScrollableFrame::ScrollMode aMode, nsIntPoint* aOverflow);
|
||||
void ScrollToRestoredPosition();
|
||||
|
|
Загрузка…
Ссылка в новой задаче