Index: third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
index c4f7e673b535a583320e17091009ba1bfaace6d6..0e838f1372e0fa00477916e5d7252e04fa577960 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
@@ -68,7 +68,9 @@ void V8MessageEvent::dataAttributeGetterCustom( |
if (SerializedScriptValue* serializedValue = |
event->dataAsSerializedScriptValue()) { |
MessagePortArray ports = event->ports(); |
- result = serializedValue->deserialize(info.GetIsolate(), &ports); |
+ SerializedScriptValue::DeserializeOptions options; |
+ options.messagePorts = &ports; |
+ result = serializedValue->deserialize(info.GetIsolate(), options); |
} else { |
result = v8::Null(info.GetIsolate()); |
} |