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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.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/platform/graphics/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index a69a5df0343229bb7cbad80012d6fd99a57e002c..d269a493abcef160c3c1c161b928598ea7aa9e39 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -183,8 +183,8 @@ class FakeScrollableArea : public GarbageCollectedFinalized<FakeScrollableArea>,
contentsSize().height() - visibleHeight());
}
- void setScrollOffset(const DoublePoint& scrollOffset, ScrollType) override {
- m_scrollPosition = scrollOffset;
+ void updateScrollPosition(const DoublePoint& position, ScrollType) override {
+ m_scrollPosition = position;
}
DoublePoint scrollPositionDouble() const override { return m_scrollPosition; }
IntPoint scrollPosition() const override {

Powered by Google App Engine
This is Rietveld 408576698