Index: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h |
index 28dd617f595c479c916f10f54712140faf0f2821..ee6f419dce7367f1973c9cda535f2bd204eab42f 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValueFactory.h |
@@ -32,6 +32,8 @@ public: |
virtual PassRefPtr<SerializedScriptValue> create(v8::Isolate*, const String&); |
PassRefPtr<SerializedScriptValue> create(); |
PassRefPtr<SerializedScriptValue> create(v8::Isolate*, const ScriptValue&, WebBlobInfoArray*, ExceptionState&); |
+ virtual bool extractTransferables(v8::Isolate*, Transferables&, ExceptionState&, v8::Local<v8::Value>&, unsigned); |
+ virtual Transferables* createTransferables() { return new Transferables; } |
// Never throws exceptions. |
PassRefPtr<SerializedScriptValue> createAndSwallowExceptions(v8::Isolate*, v8::Local<v8::Value>); |
@@ -58,7 +60,7 @@ public: |
protected: |
ScriptValueSerializer::Status doSerialize(v8::Local<v8::Value>, SerializedScriptValueWriter&, Transferables*, WebBlobInfoArray*, SerializedScriptValue*, v8::TryCatch&, String& errorMessage, v8::Isolate*); |
virtual ScriptValueSerializer::Status doSerialize(v8::Local<v8::Value>, SerializedScriptValueWriter&, Transferables*, WebBlobInfoArray*, BlobDataHandleMap&, v8::TryCatch&, String& errorMessage, v8::Isolate*); |
- void transferData(SerializedScriptValue*, SerializedScriptValueWriter&, Transferables*, ExceptionState&, v8::Isolate*); |
+ virtual void transferData(v8::Isolate*, Transferables*, ExceptionState&, SerializedScriptValue*, SerializedScriptValueWriter&); |
virtual v8::Local<v8::Value> deserialize(String& data, BlobDataHandleMap& blobDataHandles, ArrayBufferContentsArray*, ImageBitmapContentsArray*, v8::Isolate*, MessagePortArray* messagePorts, const WebBlobInfoArray*); |