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

Unified Diff: mojo/system/proxy_message_pipe_endpoint.h

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/system/proxy_message_pipe_endpoint.h
diff --git a/mojo/system/proxy_message_pipe_endpoint.h b/mojo/system/proxy_message_pipe_endpoint.h
index 3a9b0eacfae8da4b3a786c2d6aee05b907a99be0..1d766c947b353c69b786c7acb2cdd880c0582d6f 100644
--- a/mojo/system/proxy_message_pipe_endpoint.h
+++ b/mojo/system/proxy_message_pipe_endpoint.h
@@ -68,7 +68,7 @@ class MOJO_SYSTEM_IMPL_EXPORT ProxyMessagePipeEndpoint
void AssertConsistentState() const;
#endif
- bool is_attached() const { return !!channel_; }
+ bool is_attached() const { return !!channel_.get(); }
bool is_running() const {
return remote_id_ != MessageInTransit::kInvalidEndpointId;

Powered by Google App Engine
This is Rietveld 408576698