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

Unified Diff: mojo/system/channel_endpoint.h

Issue 541243003: More fixes for scoped_refptr operator T* removal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « content/renderer/pepper/ppb_var_deprecated_impl.cc ('k') | mojo/system/channel_endpoint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « content/renderer/pepper/ppb_var_deprecated_impl.cc ('k') | mojo/system/channel_endpoint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698