| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 3ad4eae88fa0455a32b0c77ae5794bf2b6e771c0..69fe8219a7fd77acd7d647123badda87e09c0c63 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -34,6 +34,7 @@
|
|
|
| #include "SkBitmap.h"
|
| #include "SkCanvas.h"
|
| +#include "bindings/core/v8/SerializedScriptValueFactory.h"
|
| #include "bindings/core/v8/V8Node.h"
|
| #include "core/UserAgentStyleSheets.h"
|
| #include "core/clipboard/DataTransfer.h"
|
| @@ -672,7 +673,7 @@ TEST_F(WebFrameTest, PostMessageThenDetach)
|
|
|
| RefPtrWillBeRawPtr<LocalFrame> frame = toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame());
|
| NonThrowableExceptionState exceptionState;
|
| - frame->domWindow()->postMessage(SerializedScriptValue::create("message"), 0, "*", frame->localDOMWindow(), exceptionState);
|
| + frame->domWindow()->postMessage(SerializedScriptValueFactory::factory().create("message"), 0, "*", frame->localDOMWindow(), exceptionState);
|
| webViewHelper.reset();
|
| EXPECT_FALSE(exceptionState.hadException());
|
|
|
|
|