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

Unified Diff: mojo/spy/spy.cc

Issue 512063003: Manual fixups for scoped_refptr conversion operator cleanup 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
« no previous file with comments | « mojo/shell/task_runners.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/spy/spy.cc
diff --git a/mojo/spy/spy.cc b/mojo/spy/spy.cc
index eb7fa353193b0c7a05201148840578d238958ffd..8de82290bf65a300fcce2e0f1117137ba5f8db46 100644
--- a/mojo/spy/spy.cc
+++ b/mojo/spy/spy.cc
@@ -224,12 +224,12 @@ class MessageProcessor :
// In charge of intercepting access to the service manager.
class SpyInterceptor : public mojo::ApplicationManager::Interceptor {
public:
- explicit SpyInterceptor(scoped_refptr<mojo::SpyServerImpl> spy_server,
- base::MessageLoopProxy* control_loop_proxy)
+ explicit SpyInterceptor(
+ scoped_refptr<mojo::SpyServerImpl> spy_server,
+ const scoped_refptr<base::MessageLoopProxy>& control_loop_proxy)
: spy_server_(spy_server),
proxy_(base::MessageLoopProxy::current()),
- control_loop_proxy_(control_loop_proxy){
- }
+ control_loop_proxy_(control_loop_proxy) {}
private:
virtual mojo::ServiceProviderPtr OnConnectToClient(
« no previous file with comments | « mojo/shell/task_runners.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698