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

Unified Diff: chrome/test/automation/automation_proxy.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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/service/service_process_prefs_unittest.cc ('k') | chrome/test/base/testing_pref_service_syncable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/automation_proxy.cc
diff --git a/chrome/test/automation/automation_proxy.cc b/chrome/test/automation/automation_proxy.cc
index 617c94c9a6bf33a76914999575504e44c5ce1f80..55cd3205149f20ab85b4881c5d72bf73a4aace9f 100644
--- a/chrome/test/automation/automation_proxy.cc
+++ b/chrome/test/automation/automation_proxy.cc
@@ -158,10 +158,9 @@ void AutomationProxy::InitializeChannel(const std::string& channel_id,
// The shutdown event could be global on the same lines as the automation
// provider, where we use the shutdown event provided by the chrome browser
// process.
- channel_.reset(new IPC::SyncChannel(
- this, // we are the listener
- thread_->message_loop_proxy(),
- shutdown_event_.get()));
+ channel_.reset(new IPC::SyncChannel(this, // we are the listener
+ thread_->message_loop_proxy().get(),
+ shutdown_event_.get()));
channel_->AddFilter(new AutomationMessageFilter(this));
// Create the pipe synchronously so that Chrome doesn't try to connect to an
« no previous file with comments | « chrome/service/service_process_prefs_unittest.cc ('k') | chrome/test/base/testing_pref_service_syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698