Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index 53622ac0df42fa408ffd7f86247874455f5a93ce..69e69444f3f905ffb74c3b47841311c70cceb47e 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -79,8 +79,8 @@ RenderViewHostImpl* PrepareToDuplicateHosts(Shell* shell, |
Shell* shell2 = shell2_observer.GetShell(); |
// The new window must be in the same process, but have a new routing id. |
- EXPECT_EQ(shell->web_contents()->GetRenderViewHost()->GetProcess()->GetID(), |
- shell2->web_contents()->GetRenderViewHost()->GetProcess()->GetID()); |
+ EXPECT_EQ(shell->web_contents()->GetMainFrame()->GetProcess()->GetID(), |
+ shell2->web_contents()->GetMainFrame()->GetProcess()->GetID()); |
*target_routing_id = |
shell2->web_contents()->GetRenderViewHost()->GetRoutingID(); |
EXPECT_NE(*target_routing_id, |