From 1b7d86808260e133ba45a9235fbf6e0ccea8035f Mon Sep 17 00:00:00 2001 From: JosiahOne Date: Tue, 7 May 2013 14:41:09 -0400 Subject: [PATCH] Bug 868432 - Animate scrolling when Home/End button is pressed. r=roc --- layout/base/nsPresShell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index 0e25882a254..2e1f0c7285c 100644 --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -2226,7 +2226,7 @@ PresShell::CompleteScroll(bool aForward) if (scrollFrame) { scrollFrame->ScrollBy(nsIntPoint(0, aForward ? 1 : -1), nsIScrollableFrame::WHOLE, - nsIScrollableFrame::INSTANT); + nsIScrollableFrame::SMOOTH); } return NS_OK; }