summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/content_script_apitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/content_script_apitest.cc')
-rw-r--r--chrome/browser/extensions/content_script_apitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/content_script_apitest.cc b/chrome/browser/extensions/content_script_apitest.cc
index 0aaaf75..fe37ec8 100644
--- a/chrome/browser/extensions/content_script_apitest.cc
+++ b/chrome/browser/extensions/content_script_apitest.cc
@@ -100,7 +100,7 @@ IN_PROC_BROWSER_TEST_F(
// And check that its styles were affected by the styles that just got loaded.
bool styles_injected;
ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractBool(
- browser()->GetSelectedTabContents()->render_view_host(), L"",
+ browser()->GetSelectedTabContents()->GetRenderViewHost(), L"",
L"window.domAutomationController.send("
L"document.defaultView.getComputedStyle(document.body, null)."
L"getPropertyValue('background-color') == 'rgb(255, 0, 0)')",