Index: content/browser/top_document_isolation_browsertest.cc |
diff --git a/content/browser/top_document_isolation_browsertest.cc b/content/browser/top_document_isolation_browsertest.cc |
index 72d87060f4cfb686561dab8c9dcc57a6f3c68db5..bca52ee136668dde5490ca319ac181a6667af153 100644 |
--- a/content/browser/top_document_isolation_browsertest.cc |
+++ b/content/browser/top_document_isolation_browsertest.cc |
@@ -55,13 +55,13 @@ class TopDocumentIsolationTest : public ContentBrowserTest { |
Shell* OpenPopup(FrameTreeNode* opener, const std::string& url) { |
GURL gurl = |
opener->current_frame_host()->GetLastCommittedURL().Resolve(url); |
- return content::OpenPopup(opener->current_frame_host(), gurl, "_blank"); |
+ return content::OpenPopup(opener, gurl, "_blank"); |
} |
void RendererInitiatedNavigateToURL(FrameTreeNode* node, const GURL& url) { |
TestFrameNavigationObserver nav_observer(node); |
- ASSERT_TRUE(ExecuteScript(node->current_frame_host(), |
- "window.location.href='" + url.spec() + "'")); |
+ ASSERT_TRUE( |
+ ExecuteScript(node, "window.location.href='" + url.spec() + "'")); |
nav_observer.Wait(); |
} |