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

Unified Diff: Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h

Issue 1097773004: Sharing of SharedArrayBuffer via PostMessage transfer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update for non-split typedarray hierarchy Created 5 years, 6 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
Index: Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
diff --git a/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h b/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
index 55e6629708ae503a1a331fcc8695eb28bf22eb0c..7679381e6253d2c44bc06ea97cf496f2f2909958 100644
--- a/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
+++ b/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.h
@@ -15,11 +15,11 @@ class SerializedScriptValueForModulesFactory final : public SerializedScriptValu
public:
SerializedScriptValueForModulesFactory() : SerializedScriptValueFactory() { }
- virtual PassRefPtr<SerializedScriptValue> create(v8::Isolate*, v8::Local<v8::Value>, MessagePortArray*, ArrayBufferArray*, WebBlobInfoArray*, ExceptionState&) override;
+ virtual PassRefPtr<SerializedScriptValue> create(v8::Isolate*, v8::Local<v8::Value>, MessagePortArray*, ArrayBufferArray*, SharedArrayBufferArray*, WebBlobInfoArray*, ExceptionState&) override;
virtual PassRefPtr<SerializedScriptValue> create(v8::Isolate*, const String&) override;
protected:
- virtual ScriptValueSerializer::Status doSerialize(v8::Local<v8::Value>, SerializedScriptValueWriter&, MessagePortArray*, ArrayBufferArray*, WebBlobInfoArray*, BlobDataHandleMap&, v8::TryCatch&, String& errorMessage, v8::Isolate*) override;
+ virtual ScriptValueSerializer::Status doSerialize(v8::Local<v8::Value>, SerializedScriptValueWriter&, MessagePortArray*, ArrayBufferArray*, SharedArrayBufferArray*, WebBlobInfoArray*, BlobDataHandleMap&, v8::TryCatch&, String& errorMessage, v8::Isolate*) override;
virtual v8::Local<v8::Value> deserialize(String& data, BlobDataHandleMap& blobDataHandles, ArrayBufferContentsArray*, v8::Isolate*, MessagePortArray* messagePorts, const WebBlobInfoArray*) override;
};

Powered by Google App Engine
This is Rietveld 408576698