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

Unified Diff: mojo/system/channel_endpoint.cc

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
Index: mojo/system/channel_endpoint.cc
diff --git a/mojo/system/channel_endpoint.cc b/mojo/system/channel_endpoint.cc
index 5ba153ebf316a1d6ec70431540207191fff7c83f..7de2504c9d341498468aba17588922b8168be9b4 100644
--- a/mojo/system/channel_endpoint.cc
+++ b/mojo/system/channel_endpoint.cc
@@ -10,7 +10,8 @@
namespace mojo {
namespace system {
-ChannelEndpoint::ChannelEndpoint(MessagePipe* message_pipe, unsigned port)
+ChannelEndpoint::ChannelEndpoint(const scoped_refptr<MessagePipe>& message_pipe,
+ unsigned port)
: state_(STATE_NORMAL), message_pipe_(message_pipe), port_(port) {
}

Powered by Google App Engine
This is Rietveld 408576698