Index: mojo/system/channel_endpoint.h |
diff --git a/mojo/system/channel_endpoint.h b/mojo/system/channel_endpoint.h |
index 24b4b72d5948ac6bba4b041428c74c80318f9b1c..8bffe48d2943a54b76d6faa40736ba1e5ad47273 100644 |
--- a/mojo/system/channel_endpoint.h |
+++ b/mojo/system/channel_endpoint.h |
@@ -103,7 +103,8 @@ class Channel; |
class MOJO_SYSTEM_IMPL_EXPORT ChannelEndpoint |
: public base::RefCountedThreadSafe<ChannelEndpoint> { |
public: |
- ChannelEndpoint(MessagePipe* message_pipe, unsigned port); |
+ ChannelEndpoint(const scoped_refptr<MessagePipe>& message_pipe, |
vtl
2014/09/05 05:41:51
Why? The original form is fine, and avoids the ext
dcheng
2014/09/05 06:01:26
It's documentation. There's already been some disc
|
+ unsigned port); |
private: |
enum State { |