Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: chrome/browser/views/find_bar_win_interactive_uitest.cc

Issue 67139: Remove the usage of GetLastActiveBrowserWindow... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/find_bar_win_interactive_uitest.cc
===================================================================
--- chrome/browser/views/find_bar_win_interactive_uitest.cc (revision 13620)
+++ chrome/browser/views/find_bar_win_interactive_uitest.cc (working copy)
@@ -56,7 +56,7 @@
HTTPTestServer::CreateServer(kDocRoot, NULL);
ASSERT_TRUE(NULL != server.get());
- scoped_ptr<BrowserProxy> browser(automation()->GetLastActiveBrowserWindow());
+ scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get() != NULL);
scoped_ptr<WindowProxy> window(browser->GetWindow());
ASSERT_TRUE(window.get() != NULL);

Powered by Google App Engine
This is Rietveld 408576698