| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index 3a6e5fc3bb78671188b4430b1b974c821a37f730..fe584f144b44407b1dc08cddf14aab0ff8269082 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -842,7 +842,8 @@ TEST_P(ParameterizedWebFrameTest, PostMessageThenDetach)
|
|
|
| LocalFrame* frame = toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame());
|
| NonThrowableExceptionState exceptionState;
|
| - frame->domWindow()->postMessage(SerializedScriptValueFactory::instance().create("message"), 0, "*", frame->localDOMWindow(), exceptionState);
|
| + MessagePortArray messagePorts;
|
| + frame->domWindow()->postMessage(SerializedScriptValueFactory::instance().create("message"), messagePorts, "*", frame->localDOMWindow(), exceptionState);
|
| webViewHelper.reset();
|
| EXPECT_FALSE(exceptionState.hadException());
|
|
|
|
|