Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp |
index 20e74d97445a7243258f91752bf52c6346eedfd2..d4601f19e3ada14f1d83441df7b8e58316289237 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeAuraTest.cpp |
@@ -31,6 +31,10 @@ class ScrollbarThemeAuraButtonOverride final : public ScrollbarThemeAura { |
class ScrollbarThemeAuraTest : public ScrollbarTestSuite {}; |
TEST_F(ScrollbarThemeAuraTest, ButtonSizeHorizontal) { |
+ ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler, |
+ const TestingPlatformSupport::Config&> |
+ platform(m_config); |
+ |
MockScrollableArea* mockScrollableArea = MockScrollableArea::create(); |
ScrollbarThemeMock mockTheme; |
Scrollbar* scrollbar = Scrollbar::createForTesting( |
@@ -53,6 +57,10 @@ TEST_F(ScrollbarThemeAuraTest, ButtonSizeHorizontal) { |
} |
TEST_F(ScrollbarThemeAuraTest, ButtonSizeVertical) { |
+ ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler, |
+ const TestingPlatformSupport::Config&> |
+ platform(m_config); |
+ |
MockScrollableArea* mockScrollableArea = MockScrollableArea::create(); |
ScrollbarThemeMock mockTheme; |
Scrollbar* scrollbar = Scrollbar::createForTesting( |
@@ -75,6 +83,10 @@ TEST_F(ScrollbarThemeAuraTest, ButtonSizeVertical) { |
} |
TEST_F(ScrollbarThemeAuraTest, NoButtonsReturnsSize0) { |
+ ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler, |
+ const TestingPlatformSupport::Config&> |
+ platform(m_config); |
+ |
MockScrollableArea* mockScrollableArea = MockScrollableArea::create(); |
ScrollbarThemeMock mockTheme; |
Scrollbar* scrollbar = Scrollbar::createForTesting( |