Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
index 3eeb16655428b4fd52d2a6b07f05dba8e1fb189a..231a191472b52a69bbbb9181c1aabf4a23e0127a 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -279,8 +279,10 @@ void V8Window::postMessageMethodCustom( |
TOSTRING_VOID(V8StringResource<TreatNullAndUndefinedAsNullString>, |
targetOrigin, info[targetOriginArgIndex]); |
+ SerializedScriptValue::SerializeOptions options; |
+ options.transferables = &transferables; |
RefPtr<SerializedScriptValue> message = SerializedScriptValue::serialize( |
- info.GetIsolate(), info[0], &transferables, nullptr, exceptionState); |
+ info.GetIsolate(), info[0], options, exceptionState); |
if (exceptionState.hadException()) |
return; |