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

Unified Diff: chrome/test/tab_switching/tab_switching_test.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
« no previous file with comments | « chrome/test/startup/feature_startup_test.cc ('k') | chrome/test/ui/dom_checker_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/tab_switching/tab_switching_test.cc
===================================================================
--- chrome/test/tab_switching/tab_switching_test.cc (revision 17078)
+++ chrome/test/tab_switching/tab_switching_test.cc (working copy)
@@ -39,7 +39,7 @@
void RunTabSwitchingUITest() {
// Create a browser proxy.
- browser_proxy_.reset(automation()->GetBrowserWindow(0));
+ browser_proxy_ = automation()->GetBrowserWindow(0);
// Open all the tabs.
int initial_tab_count = 0;
@@ -128,7 +128,7 @@
std::wstring path_prefix_;
int number_of_tabs_to_open_;
- scoped_ptr<BrowserProxy> browser_proxy_;
+ scoped_refptr<BrowserProxy> browser_proxy_;
private:
DISALLOW_EVIL_CONSTRUCTORS(TabSwitchingUITest);
« no previous file with comments | « chrome/test/startup/feature_startup_test.cc ('k') | chrome/test/ui/dom_checker_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698