| Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
|
| index 1acb2fd4a84b43aabb54299d71378a1180ca7204..946efa8168c2d3da98539e340b96d34ce890ace2 100644
|
| --- a/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp
|
| @@ -31,6 +31,9 @@
|
| #include "platform/geometry/IntRect.h"
|
| #include "platform/scroll/ScrollAnimatorBase.h"
|
| #include "platform/scroll/ScrollableArea.h"
|
| +#include "public/platform/Platform.h"
|
| +#include "public/platform/WebScheduler.h"
|
| +#include "public/platform/WebThread.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -108,6 +111,10 @@ class MockScrollableArea : public GarbageCollectedFinalized<MockScrollableArea>,
|
| ScrollableArea::setScrollOffset(offset, type, behavior);
|
| }
|
|
|
| + RefPtr<WebTaskRunner> getTimerTaskRunner() const final {
|
| + return Platform::current()->currentThread()->scheduler()->timerTaskRunner();
|
| + }
|
| +
|
| DEFINE_INLINE_VIRTUAL_TRACE() {
|
| visitor->trace(animator);
|
| ScrollableArea::trace(visitor);
|
|
|