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

Unified Diff: third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp

Issue 2885313003: [scheduler] Fix --disable-background-timer-throttling flag. (Closed)
Patch Set: fix test crash 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/HTMLImportSheetsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp b/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
index 36c75d90f34c129c1e6a398de8e7c98025fd2d2d..9e5cda53a27d72230c6b3bfc74ffe1e653fe50aa 100644
--- a/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp
@@ -12,7 +12,12 @@ namespace blink {
class HTMLImportSheetsTest : public SimTest {
protected:
- HTMLImportSheetsTest() { WebView().Resize(WebSize(640, 480)); }
+ HTMLImportSheetsTest() {}
+
+ void SetUp() override {
+ SimTest::SetUp();
+ WebView().Resize(WebSize(640, 480));
+ }
};
TEST_F(HTMLImportSheetsTest, NeedsActiveStyleUpdate) {

Powered by Google App Engine
This is Rietveld 408576698