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 6bb469fd2122046298c088d22d70046e044c9eb7..6e99ad8f9daa68f58156924e2b3b5caa65f9a8ff 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h |
@@ -87,16 +87,11 @@ class ScrollbarTestSuite : public testing::Test { |
ScrollbarTestSuite() {} |
void SetUp() override { |
- TestingPlatformSupport::Config config; |
- config.compositorSupport = Platform::current()->compositorSupport(); |
- m_fakePlatform = |
- WTF::makeUnique<TestingPlatformSupportWithMockScheduler>(config); |
+ m_config.compositorSupport = Platform::current()->compositorSupport(); |
} |
- void TearDown() override { m_fakePlatform = nullptr; } |
- |
- private: |
- std::unique_ptr<TestingPlatformSupportWithMockScheduler> m_fakePlatform; |
+ protected: |
+ TestingPlatformSupport::Config m_config; |
}; |
} // namespace blink |