summaryrefslogtreecommitdiffstats
path: root/chrome/browser/find_in_page_controller_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/find_in_page_controller_uitest.cc')
-rw-r--r--chrome/browser/find_in_page_controller_uitest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/find_in_page_controller_uitest.cc b/chrome/browser/find_in_page_controller_uitest.cc
index 0fd4012..c37870b 100644
--- a/chrome/browser/find_in_page_controller_uitest.cc
+++ b/chrome/browser/find_in_page_controller_uitest.cc
@@ -129,7 +129,8 @@ TEST_F(FindInPageControllerTest, FindMovesOnTabClose_Issue1343052) {
scoped_ptr<TabProxy> tabA(GetActiveTab());
ASSERT_TRUE(tabA->NavigateToURL(url));
- scoped_ptr<BrowserProxy> browser(automation()->GetLastActiveBrowserWindow());
+ scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
+ //scoped_ptr<BrowserProxy> browser(automation()->GetLastActiveBrowserWindow());
ASSERT_TRUE(browser.get() != NULL);
// Toggle the bookmark bar state.