summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_win_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/find_bar_win_browsertest.cc')
-rw-r--r--chrome/browser/views/find_bar_win_browsertest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/find_bar_win_browsertest.cc b/chrome/browser/views/find_bar_win_browsertest.cc
index de66f7a..47d3c2e 100644
--- a/chrome/browser/views/find_bar_win_browsertest.cc
+++ b/chrome/browser/views/find_bar_win_browsertest.cc
@@ -173,7 +173,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FindInPageFrames) {
std::string FocusedOnPage(TabContents* tab_contents) {
std::string result;
ui_test_utils::ExecuteJavaScriptAndExtractString(
- tab_contents,
+ tab_contents->render_view_host(),
L"",
L"window.domAutomationController.send(getFocusedElement());",
&result);
@@ -214,7 +214,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FindInPageEndState) {
// Move the selection to link 1, after searching.
std::string result;
ui_test_utils::ExecuteJavaScriptAndExtractString(
- tab_contents,
+ tab_contents->render_view_host(),
L"",
L"window.domAutomationController.send(selectLink1());",
&result);