Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index 62241ac4cb9a08c9a49c296fc4402891fb76dd6f..883fb8c025966f2fb7829cc1e856ec7d66021838 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -58,7 +58,8 @@ RenderViewHostImpl* PrepareToDuplicateHosts(Shell* shell, |
WebContentsImpl* wc = static_cast<WebContentsImpl*>(shell->web_contents()); |
wc->RequestOpenURL( |
shell->web_contents()->GetRenderViewHost(), extension_url, |
- Referrer(), CURRENT_TAB, wc->GetFrameTree()->root()->frame_id(), |
+ Referrer(), CURRENT_TAB, |
+ wc->GetFrameTree()->GetMainFrame()->GetRoutingID(), |
false, true); |
// Since the navigation above requires a cross-process swap, there will be a |