diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-19 17:15:49 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-19 17:15:49 +0000 |
commit | 9a024901aec2050f12f81e4f2c6dddf1e946f4a4 (patch) | |
tree | fcdbfe4c0a8c517980b5a30e7576311e7ce4769b /gin | |
parent | a7f6ebfee2c531029fdd1cacd874bb08c9d62775 (diff) | |
download | chromium_src-9a024901aec2050f12f81e4f2c6dddf1e946f4a4.zip chromium_src-9a024901aec2050f12f81e4f2c6dddf1e946f4a4.tar.gz chromium_src-9a024901aec2050f12f81e4f2c6dddf1e946f4a4.tar.bz2 |
Don't pass --harmony-promises flag from gin to v8
Promises are now enabled by default
BUG=none
R=adamk@chromium.org
Review URL: https://codereview.chromium.org/290273004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin')
-rw-r--r-- | gin/isolate_holder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc index 05f4471..d0ebbb8 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); |