Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp

Issue 2588403002: TestingPlatformSupport: register Platform instance correctly (Closed)
Patch Set: review #32 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 028ed37e448bd996966d8da1f78237a88cf7940c..db7f427e2280f7f3f2dcc83b75ca15b53d6b5dd5 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeOverlayTest.cpp
@@ -14,6 +14,10 @@ using testing::Return;
class ScrollbarThemeOverlayTest : public ScrollbarTestSuite {};
TEST_F(ScrollbarThemeOverlayTest, PaintInvalidation) {
+ ScopedTestingPlatformSupport<TestingPlatformSupportWithMockScheduler,
+ const TestingPlatformSupport::Config&>
+ platform(m_config);
+
NiceMock<MockScrollableArea>* mockScrollableArea =
new NiceMock<MockScrollableArea>(ScrollOffset(100, 100));
ScrollbarThemeOverlay theme(14, 0, ScrollbarThemeOverlay::AllowHitTest);

Powered by Google App Engine
This is Rietveld 408576698