Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp |
index db7f427e2280f7f3f2dcc83b75ca15b53d6b5dd5..1a0fec8e40f1c38adcc678cb4b639cc3b4615fde 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp |
@@ -5,18 +5,18 @@ |
#include "platform/scroll/ScrollbarThemeOverlay.h" |
#include "platform/scroll/ScrollbarTestSuite.h" |
+#include "platform/testing/TestingPlatformSupport.h" |
namespace blink { |
using testing::NiceMock; |
using testing::Return; |
-class ScrollbarThemeOverlayTest : public ScrollbarTestSuite {}; |
+using ScrollbarThemeOverlayTest = testing::Test; |
TEST_F(ScrollbarThemeOverlayTest, PaintInvalidation) { |
- ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler, |
- const TestingPlatformSupport::Config&> |
- platform(m_config); |
+ ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler> |
+ platform; |
NiceMock<MockScrollableArea>* mockScrollableArea = |
new NiceMock<MockScrollableArea>(ScrollOffset(100, 100)); |