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

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

Issue 2621393003: Remove ScrollbarTestSuite from platform/scroll (Closed)
Patch Set: 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 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));

Powered by Google App Engine
This is Rietveld 408576698