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

Unified Diff: Source/bindings/core/v8/V8Initializer.cpp

Issue 1097773004: Sharing of SharedArrayBuffer via PostMessage transfer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add worker global interface listing expectations Created 5 years, 5 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 | « Source/bindings/core/v8/SerializedScriptValue.cpp ('k') | Source/bindings/scripts/v8_interface.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8Initializer.cpp
diff --git a/Source/bindings/core/v8/V8Initializer.cpp b/Source/bindings/core/v8/V8Initializer.cpp
index 874d0f1c3ff5454281e787edf3b29145e529d17b..04b88036d9feafef2c7627596d5da0761ce40e26 100644
--- a/Source/bindings/core/v8/V8Initializer.cpp
+++ b/Source/bindings/core/v8/V8Initializer.cpp
@@ -359,6 +359,11 @@ static void initializeV8Common(v8::Isolate* isolate)
v8::V8::AddGCPrologueCallback(V8GCController::gcPrologue);
v8::V8::AddGCEpilogueCallback(V8GCController::gcEpilogue);
+ if (RuntimeEnabledFeatures::sharedArrayBufferEnabled()) {
+ static const char kSharedArrayBuffer[] = "--harmony-sharedarraybuffer";
+ v8::V8::SetFlagsFromString(kSharedArrayBuffer, sizeof(kSharedArrayBuffer));
jochen (gone - plz use gerrit) 2015/07/10 09:07:40 we should first land this once shared array buffer
binji 2015/07/10 18:34:46 Sorry, I don't understand. Is it dangerous to add
+ }
+
v8::Debug::SetLiveEditEnabled(isolate, false);
isolate->SetAutorunMicrotasks(false);
« no previous file with comments | « Source/bindings/core/v8/SerializedScriptValue.cpp ('k') | Source/bindings/scripts/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698