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

Unified Diff: chrome/test/reliability/automated_ui_test_base.cc

Issue 15836003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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/perf/perf_ui_test_suite.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/reliability/automated_ui_test_base.cc
diff --git a/chrome/test/reliability/automated_ui_test_base.cc b/chrome/test/reliability/automated_ui_test_base.cc
index 426f0ae2fe2f439ee3645bd12fd760c211e13c80..541a0c6514e9e7e5f70a9380680cd0b26061b508 100644
--- a/chrome/test/reliability/automated_ui_test_base.cc
+++ b/chrome/test/reliability/automated_ui_test_base.cc
@@ -74,7 +74,7 @@ bool AutomatedUITestBase::CloseActiveWindow() {
scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(i));
Browser::Type type;
if (browser->GetType(&type) && type == Browser::TYPE_TABBED) {
- set_active_browser(browser);
+ set_active_browser(browser.get());
return true;
}
}
« no previous file with comments | « chrome/test/perf/perf_ui_test_suite.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698