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

Unified Diff: third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp

Issue 2885313003: [scheduler] Fix --disable-background-timer-throttling flag. (Closed)
Patch Set: Created 3 years, 7 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/web/tests/scheduler/FrameThrottlingTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp
similarity index 99%
rename from third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
rename to third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp
index e2a4891eabfac070d5db544b416c2ec9a0176d9f..22058753cf129050de7b39fcbb8f8509ff8767c0 100644
--- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp
@@ -65,7 +65,10 @@ class FrameThrottlingTest : public SimTest,
public ::testing::WithParamInterface<bool>,
private ScopedRootLayerScrollingForTest {
protected:
- FrameThrottlingTest() : ScopedRootLayerScrollingForTest(GetParam()) {
+ FrameThrottlingTest() : ScopedRootLayerScrollingForTest(GetParam()){};
alex clarke (OOO till 29th) 2017/05/18 07:24:01 nit: don't need a semicolon there.
altimin 2017/05/18 10:59:39 Done.
+
+ void SetUp() override {
+ SimTest::SetUp();
WebView().Resize(WebSize(640, 480));
}

Powered by Google App Engine
This is Rietveld 408576698