summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/browser_action_apitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/browser_action_apitest.cc')
-rw-r--r--chrome/browser/extensions/browser_action_apitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/browser_action_apitest.cc b/chrome/browser/extensions/browser_action_apitest.cc
index 08e65fd..9112e5b 100644
--- a/chrome/browser/extensions/browser_action_apitest.cc
+++ b/chrome/browser/extensions/browser_action_apitest.cc
@@ -81,7 +81,7 @@ IN_PROC_BROWSER_TEST_F(BrowserActionApiTest, Basic) {
TabContents* tab = browser()->GetSelectedTabContents();
bool result = false;
ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractBool(
- tab->render_view_host(), L"",
+ tab->GetRenderViewHost(), L"",
L"setInterval(function(){"
L" if(document.body.bgColor == 'red'){"
L" window.domAutomationController.send(true)}}, 100)",