| 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 7e3ebf3f53a321af69e54cf5d2f07072a592e7e2..b2d4ad274c57325a801197399a9ac6e4980b9bcb 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -844,7 +844,7 @@ TEST_P(ParameterizedWebFrameTest, PostMessageThenDetach)
|
| LocalFrame* frame = toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame());
|
| NonThrowableExceptionState exceptionState;
|
| MessagePortArray messagePorts;
|
| - frame->domWindow()->postMessage(SerializedScriptValueFactory::instance().create("message"), messagePorts, "*", frame->localDOMWindow(), exceptionState);
|
| + frame->domWindow()->postMessage(SerializedScriptValue::serialize("message"), messagePorts, "*", frame->localDOMWindow(), exceptionState);
|
| webViewHelper.reset();
|
| EXPECT_FALSE(exceptionState.hadException());
|
|
|
|
|