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

Unified Diff: src/d8.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 | « include/libplatform/libplatform.h ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 31dc8958efeae7277d89182eac43b44fcc5e4d8e..b4959bbe8211ea77390d4dd37e110c3e2482d38c 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -2892,7 +2892,8 @@ int Shell::Main(int argc, char* argv[]) {
v8::V8::InitializeICUDefaultLocation(argv[0], options.icu_data_file);
g_platform = i::FLAG_verify_predictable
? new PredictablePlatform()
- : v8::platform::CreateDefaultPlatform();
+ : v8::platform::CreateDefaultPlatform(
+ 0, v8::platform::IdleTaskSupport::kEnabled);
platform::tracing::TracingController* tracing_controller;
if (options.trace_enabled) {
« no previous file with comments | « include/libplatform/libplatform.h ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698