Index: Source/bindings/v8/ScriptValue.cpp |
diff --git a/Source/bindings/v8/ScriptValue.cpp b/Source/bindings/v8/ScriptValue.cpp |
index 13e3c29eb927611ab3f7f9403b72f4f10fe83053..36298fafb742183f31287d79fe3e4ad1d8a00288 100644 |
--- a/Source/bindings/v8/ScriptValue.cpp |
+++ b/Source/bindings/v8/ScriptValue.cpp |
@@ -47,13 +47,13 @@ ScriptValue::~ScriptValue() |
PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState) |
{ |
ScriptScope scope(scriptState); |
- return SerializedScriptValue::create(v8Value()); |
+ return SerializedScriptValue::create(v8Value(), scriptState->isolate()); |
} |
PassRefPtr<SerializedScriptValue> ScriptValue::serialize(ScriptState* scriptState, MessagePortArray* messagePorts, ArrayBufferArray* arrayBuffers, bool& didThrow) |
{ |
ScriptScope scope(scriptState); |
- return SerializedScriptValue::create(v8Value(), messagePorts, arrayBuffers, didThrow); |
+ return SerializedScriptValue::create(v8Value(), messagePorts, arrayBuffers, didThrow, scriptState->isolate()); |
} |
ScriptValue ScriptValue::deserialize(ScriptState* scriptState, SerializedScriptValue* value) |