Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(855)

Unified Diff: Source/core/frame/RootFrameViewportTest.cpp

Issue 1173053003: Remove ScrollableArea::notifyScrollPositionChanged and cleanup scroll animators. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/RootFrameViewportTest.cpp
diff --git a/Source/core/frame/RootFrameViewportTest.cpp b/Source/core/frame/RootFrameViewportTest.cpp
index feed133a63d95fdde22c9aeaf8fd2fd93f495d3d..ca9271ff5ba418a490e51600e3b1490ce04cac7e 100644
--- a/Source/core/frame/RootFrameViewportTest.cpp
+++ b/Source/core/frame/RootFrameViewportTest.cpp
@@ -385,7 +385,7 @@ TEST_F(RootFrameViewportTest, ScrollIntoView)
visualViewport.setScale(1.5f);
visualViewport.setScrollPosition(DoublePoint(0, 10), ProgrammaticScroll);
layoutViewport.setScrollPosition(DoublePoint(50, 50), ProgrammaticScroll);
- rootFrameViewport->notifyScrollPositionChanged(rootFrameViewport->scrollPositionDouble());
+ rootFrameViewport->setScrollPosition(rootFrameViewport->scrollPositionDouble(), ProgrammaticScroll);
rootFrameViewport->scrollIntoView(
LayoutRect(rootFrameViewport->visibleContentRectDouble(ExcludeScrollbars)),

Powered by Google App Engine
This is Rietveld 408576698