Index: Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp |
diff --git a/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp b/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp |
index b24e76241098fe849dcf884df9b7b7d7a4d2cc66..0e5df86a76af7df1b8b5104a37a0f713552bbfe3 100644 |
--- a/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp |
+++ b/Source/bindings/modules/v8/SerializedScriptValueForModulesFactory.cpp |
@@ -12,7 +12,7 @@ |
namespace blink { |
-PassRefPtr<SerializedScriptValue> SerializedScriptValueForModulesFactory::create(v8::Handle<v8::Value> value, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, WebBlobInfoArray* blobInfo, ExceptionState& exceptionState, v8::Isolate* isolate) |
+PassRefPtr<SerializedScriptValue> SerializedScriptValueForModulesFactory::create(v8::Local<v8::Value> value, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, WebBlobInfoArray* blobInfo, ExceptionState& exceptionState, v8::Isolate* isolate) |
{ |
RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValueFactory::create(); |
SerializedScriptValueWriterForModules writer; |
@@ -51,7 +51,7 @@ PassRefPtr<SerializedScriptValue> SerializedScriptValueForModulesFactory::create |
return createFromWire(wireData); |
} |
-ScriptValueSerializer::Status SerializedScriptValueForModulesFactory::doSerialize(v8::Handle<v8::Value> value, SerializedScriptValueWriter& writer, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, WebBlobInfoArray* blobInfo, BlobDataHandleMap& blobDataHandles, v8::TryCatch& tryCatch, String& errorMessage, v8::Isolate* isolate) |
+ScriptValueSerializer::Status SerializedScriptValueForModulesFactory::doSerialize(v8::Local<v8::Value> value, SerializedScriptValueWriter& writer, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, WebBlobInfoArray* blobInfo, BlobDataHandleMap& blobDataHandles, v8::TryCatch& tryCatch, String& errorMessage, v8::Isolate* isolate) |
{ |
ScriptValueSerializerForModules serializer(writer, messagePorts, arrayBuffers, blobInfo, blobDataHandles, tryCatch, ScriptState::current(isolate)); |
ScriptValueSerializer::Status status = serializer.serialize(value); |
@@ -59,7 +59,7 @@ ScriptValueSerializer::Status SerializedScriptValueForModulesFactory::doSerializ |
return status; |
} |
-v8::Handle<v8::Value> SerializedScriptValueForModulesFactory::deserialize(String& data, BlobDataHandleMap& blobDataHandles, ArrayBufferContentsArray* arrayBufferContentsArray, v8::Isolate* isolate, MessagePortArray* messagePorts, const WebBlobInfoArray* blobInfo) |
+v8::Local<v8::Value> SerializedScriptValueForModulesFactory::deserialize(String& data, BlobDataHandleMap& blobDataHandles, ArrayBufferContentsArray* arrayBufferContentsArray, v8::Isolate* isolate, MessagePortArray* messagePorts, const WebBlobInfoArray* blobInfo) |
{ |
if (!data.impl()) |
return v8::Null(isolate); |