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

Unified Diff: gin/isolate_holder.cc

Issue 290273004: Don't pass --harmony-promises flag from gin to v8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/isolate_holder.cc
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc
index 05f44718368b8e75a1ab86c61cae065790fcbde7..d0ebbb84bf274055c474b7f9d077ccc6a7d5e947 100644
--- a/gin/isolate_holder.cc
+++ b/gin/isolate_holder.cc
@@ -40,7 +40,7 @@ void EnsureV8Initialized(gin::IsolateHolder::ScriptMode mode,
v8::V8::InitializePlatform(V8Platform::Get());
v8::V8::SetArrayBufferAllocator(ArrayBufferAllocator::SharedInstance());
if (mode == gin::IsolateHolder::kStrictMode) {
- static const char v8_flags[] = "--use_strict --harmony_promises";
+ static const char v8_flags[] = "--use_strict";
v8::V8::SetFlagsFromString(v8_flags, sizeof(v8_flags) - 1);
}
v8::V8::SetEntropySource(&GenerateEntropy);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698