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 972c7f4146ed1d74a3e1c4b0525245a233985c7b..5ba5650ca939a1142c2fa5aa77732fe0302722c6 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -7709,7 +7709,7 @@ TEST_F(WebFrameTest, NavigateRemoteToLocalWithOpener) |
popupView->setMainFrame(popupRemoteFrame); |
popupRemoteFrame->setOpener(mainFrame); |
popupRemoteFrame->setReplicatedOrigin(WebSecurityOrigin::createFromString("http://foo.com")); |
- EXPECT_FALSE(mainFrame->securityOrigin().canAccess(popupView->mainFrame()->securityOrigin())); |
+ EXPECT_FALSE(mainFrame->getSecurityOrigin().canAccess(popupView->mainFrame()->getSecurityOrigin())); |
// Do a remote-to-local swap in the popup. |
FrameTestHelpers::TestWebFrameClient popupLocalClient; |
@@ -7718,7 +7718,7 @@ TEST_F(WebFrameTest, NavigateRemoteToLocalWithOpener) |
// The initial document created during the remote-to-local swap should have |
// inherited its opener's SecurityOrigin. |
- EXPECT_TRUE(mainFrame->securityOrigin().canAccess(popupView->mainFrame()->securityOrigin())); |
+ EXPECT_TRUE(mainFrame->getSecurityOrigin().canAccess(popupView->mainFrame()->getSecurityOrigin())); |
popupView->close(); |
} |