| 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 3d209f9e6ea7813e7907d879136736c0439b5854..21105d1b0ba5ff9d0e3da04cd99af1a8e16eb214 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -1001,7 +1001,7 @@ TEST_P(ParameterizedWebFrameTest, PostMessageThenDetach) {
|
| NonThrowableExceptionState exceptionState;
|
| MessagePortArray messagePorts;
|
| frame->domWindow()->postMessage(SerializedScriptValue::serialize("message"),
|
| - messagePorts, "*", frame->localDOMWindow(),
|
| + messagePorts, "*", frame->domWindow(),
|
| exceptionState);
|
| webViewHelper.reset();
|
| EXPECT_FALSE(exceptionState.hadException());
|
| @@ -9149,7 +9149,7 @@ TEST_F(WebFrameSwapTest, WindowOpenOnRemoteFrame) {
|
| ASSERT_TRUE(mainFrame()->isWebLocalFrame());
|
| ASSERT_TRUE(mainFrame()->firstChild()->isWebRemoteFrame());
|
| LocalDOMWindow* mainWindow =
|
| - toWebLocalFrameImpl(mainFrame())->frame()->localDOMWindow();
|
| + toWebLocalFrameImpl(mainFrame())->frame()->domWindow();
|
|
|
| KURL destination = toKURL("data:text/html:destination");
|
| mainWindow->open(destination.getString(), "frame1", "", mainWindow,
|
|
|