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 7b499d50e748312e9c669db9051b70927f660083..eb9ed62962b95ed0c1bc9e08890896d16065706e 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
@@ -63,6 +63,9 @@ class MockScrollableArea : public GarbageCollectedFinalized<MockScrollableArea>, |
bool scrollAnimatorEnabled() const override { return false; } |
int pageStep(ScrollbarOrientation) const override { return 0; } |
void scrollControlWasSetNeedsPaintInvalidation() {} |
+ void setScrollOrigin(const IntPoint& origin) { |
+ ScrollableArea::setScrollOrigin(origin); |
+ } |
RefPtr<WebTaskRunner> getTimerTaskRunner() const final { |
return Platform::current()->currentThread()->scheduler()->timerTaskRunner(); |