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

Unified Diff: mojo/system/channel.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
« no previous file with comments | « content/renderer/pepper/ppb_var_deprecated_impl.cc ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.cc
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
index 97d60ad94b78a052d2a45e250aced6e97d446532..a4e1dcbf67d35283c7a0cbaa99448eedd8bcea4f 100644
--- a/mojo/system/channel.cc
+++ b/mojo/system/channel.cc
@@ -112,7 +112,7 @@ MessageInTransit::EndpointId Channel::AttachMessagePipeEndpoint(
local_id = next_local_id_;
next_local_id_++;
local_id_to_endpoint_map_[local_id] =
- new ChannelEndpoint(message_pipe, port);
+ new ChannelEndpoint(message_pipe.get(), port);
}
// This might fail if that port got an |OnPeerClose()| before attaching.
« no previous file with comments | « content/renderer/pepper/ppb_var_deprecated_impl.cc ('k') | net/proxy/proxy_config_service_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698