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

Unified Diff: mojo/spy/spy.cc

Issue 502573006: Remove implicit conversions from scoped_refptr to T* in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: mojo/spy/spy.cc
diff --git a/mojo/spy/spy.cc b/mojo/spy/spy.cc
index 9def0460359d020e83fbef7219e29415590469c6..eb7fa353193b0c7a05201148840578d238958ffd 100644
--- a/mojo/spy/spy.cc
+++ b/mojo/spy/spy.cc
@@ -246,8 +246,8 @@ class SpyInterceptor : public mojo::ApplicationManager::Interceptor {
mojo::ScopedMessagePipeHandle interceptor;
CreateMessagePipe(NULL, &faux_client, &interceptor);
- scoped_refptr<MessageProcessor> processor = new MessageProcessor(
- control_loop_proxy_);
+ scoped_refptr<MessageProcessor> processor =
+ new MessageProcessor(control_loop_proxy_.get());
mojo::ScopedMessagePipeHandle real_handle = real_client.PassMessagePipe();
base::WorkerPool::PostTask(
FROM_HERE,
« no previous file with comments | « mojo/shell/app_child_process.cc ('k') | mojo/system/channel.cc » ('j') | mojo/system/channel.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698