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

Unified Diff: test/unittests/run-all-unittests.cc

Issue 2737743002: Make idle tasks optional in the default platform. (Closed)
Patch Set: another fix Created 3 years, 9 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
« no previous file with comments | « test/unittests/libplatform/default-platform-unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/run-all-unittests.cc
diff --git a/test/unittests/run-all-unittests.cc b/test/unittests/run-all-unittests.cc
index 58cac6afa9087a570b5aa406c972b360e6c6e368..55217ae2bbdbb965a93dec6eaf98dad003c047ed 100644
--- a/test/unittests/run-all-unittests.cc
+++ b/test/unittests/run-all-unittests.cc
@@ -15,7 +15,8 @@ class DefaultPlatformEnvironment final : public ::testing::Environment {
void SetUp() override {
EXPECT_EQ(NULL, platform_);
- platform_ = v8::platform::CreateDefaultPlatform();
+ platform_ = v8::platform::CreateDefaultPlatform(
+ 0, v8::platform::IdleTaskSupport::kEnabled);
ASSERT_TRUE(platform_ != NULL);
v8::V8::InitializePlatform(platform_);
ASSERT_TRUE(v8::V8::Initialize());
« no previous file with comments | « test/unittests/libplatform/default-platform-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698