Index: third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
index 5d86d7c40947f0b3f48f5b95c9e49e2c53cdf1e1..9d89dacea5121b07a6e7b140d183639e8eb337b6 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
@@ -46,9 +46,9 @@ class MockScrollableArea : public GarbageCollectedFinalized<MockScrollableArea>, |
bool userInputScrollable(ScrollbarOrientation) const override { return true; } |
bool scrollbarsCanBeActive() const override { return true; } |
bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; } |
- void setScrollOffset(const DoublePoint& offset, ScrollType) override { |
+ void updateScrollPosition(const DoublePoint& position, ScrollType) override { |
m_scrollPosition = |
- flooredIntPoint(offset).shrunkTo(m_maximumScrollPosition); |
+ flooredIntPoint(position).shrunkTo(m_maximumScrollPosition); |
} |
IntPoint scrollPosition() const override { return m_scrollPosition; } |
IntPoint minimumScrollPosition() const override { return IntPoint(); } |