Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index 69e69444f3f905ffb74c3b47841311c70cceb47e..c85d2df254b69a76959109ac27e32055915f2104 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -235,8 +235,7 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, SetWebUIProperty) { |
NavigateToURL(shell(), foo); |
EXPECT_EQ(base::ASCIIToUTF16("OK"), shell()->web_contents()->GetTitle()); |
- EXPECT_EQ(0, |
- shell()->web_contents()->GetRenderViewHost()->GetEnabledBindings()); |
+ EXPECT_EQ(0, shell()->web_contents()->GetMainFrame()->GetEnabledBindings()); |
RenderProcessHostWatcher terminated( |
shell()->web_contents(), |