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

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

Issue 113722: Make automation proxy objects to ref_counted. That allows to process async no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 17078)
+++ chrome/browser/views/find_bar_win_interactive_uitest.cc (working copy)
@@ -56,21 +56,21 @@
HTTPTestServer::CreateServer(kDocRoot, NULL);
ASSERT_TRUE(NULL != server.get());
- scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
+ scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0));
ASSERT_TRUE(browser.get() != NULL);
- scoped_ptr<WindowProxy> window(browser->GetWindow());
+ scoped_refptr<WindowProxy> window(browser->GetWindow());
ASSERT_TRUE(window.get() != NULL);
// First we navigate to our test page (tab A).
GURL url = server->TestServerPageW(kSimplePage);
- scoped_ptr<TabProxy> tabA(GetActiveTab());
+ scoped_refptr<TabProxy> tabA(GetActiveTab());
EXPECT_NE(AUTOMATION_MSG_NAVIGATION_ERROR, tabA->NavigateToURL(url));
EXPECT_TRUE(browser->OpenFindInPage());
// Open another tab (tab B).
EXPECT_TRUE(browser->AppendTab(url));
- scoped_ptr<TabProxy> tabB(GetActiveTab());
+ scoped_refptr<TabProxy> tabB(GetActiveTab());
EXPECT_TRUE(browser->OpenFindInPage());
« no previous file with comments | « chrome/browser/views/constrained_window_impl_interactive_uitest.cc ('k') | chrome/browser/views/find_bar_win_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698