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

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

Issue 2383113003: Refactor ScrollableArea::setScrollPosition. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
diff --git a/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp b/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
index b0502a1293932dd0275fe9d3f3fd0a3d17a4f587..a175c1435fb7089dc6c36fd728eeef14efe6116f 100644
--- a/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
+++ b/third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp
@@ -78,7 +78,7 @@ class ScrollableAreaStub : public GarbageCollectedFinalized<ScrollableAreaStub>,
m_viewportSize(viewportSize),
m_contentsSize(contentsSize) {}
- void setScrollOffset(const DoublePoint& offset, ScrollType) override {
+ void updateScrollPosition(const DoublePoint& offset, ScrollType) override {
m_scrollPosition = offset;
}
bool shouldUseIntegerScrollOffset() const override { return true; }

Powered by Google App Engine
This is Rietveld 408576698