зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 9b9e53e7eee7 (bug 1326686
) for causing frequent failures in test_scroll_snapping_scrollbars.html
--HG-- extra : rebase_source : 7e4a4cd87bcbb88c566b708881190f1b4c1dd964
This commit is contained in:
Родитель
720fd1b0ae
Коммит
403a7be2db
|
@ -2282,9 +2282,7 @@ ScrollFrameHelper::ScrollToWithOrigin(nsPoint aScrollPosition,
|
|||
}
|
||||
|
||||
nsPresContext* presContext = mOuter->PresContext();
|
||||
TimeStamp now = presContext->RefreshDriver()->IsTestControllingRefreshesEnabled()
|
||||
? presContext->RefreshDriver()->MostRecentRefresh()
|
||||
: TimeStamp::Now();
|
||||
TimeStamp now = presContext->RefreshDriver()->MostRecentRefresh();
|
||||
bool isSmoothScroll = (aMode == nsIScrollableFrame::SMOOTH) &&
|
||||
IsSmoothScrollingEnabled();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче