| 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 c9bcc0472ff271edc9bce2bebaa0473765ea6e40..50db42881a6524245381ead06172023bcf430d74 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -284,6 +284,7 @@ void V8Window::postMessageMethodCustom(
|
| if (exceptionState.hadException())
|
| return;
|
|
|
| + message->unregisterMemoryAllocatedByCurrentScriptContext();
|
| window->postMessage(message.release(), transferables.messagePorts,
|
| targetOrigin, source, exceptionState);
|
| }
|
|
|