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

Unified Diff: chrome/browser/tab_contents/view_source_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
« no previous file with comments | « chrome/browser/ssl/ssl_uitest.cc ('k') | chrome/browser/tab_restore_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/view_source_uitest.cc
===================================================================
--- chrome/browser/tab_contents/view_source_uitest.cc (revision 17078)
+++ chrome/browser/tab_contents/view_source_uitest.cc (working copy)
@@ -19,7 +19,7 @@
}
bool IsPageMenuCommandEnabled(int command) {
- scoped_ptr<BrowserProxy> window_proxy(automation()->GetBrowserWindow(0));
+ scoped_refptr<BrowserProxy> window_proxy(automation()->GetBrowserWindow(0));
if (!window_proxy.get())
return false;
@@ -45,7 +45,7 @@
// First we navigate to our view-source test page
GURL url = server->TestServerPageW(test_html_);
url = GURL("view-source:" + url.spec());
- scoped_ptr<TabProxy> tab(GetActiveTab());
+ scoped_refptr<TabProxy> tab(GetActiveTab());
tab->NavigateToURL(url);
PlatformThread::Sleep(sleep_timeout_ms());
« no previous file with comments | « chrome/browser/ssl/ssl_uitest.cc ('k') | chrome/browser/tab_restore_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698