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

Unified Diff: ipc/ipc_message_pipe_reader.h

Issue 2668153003: Mojo C++ Bindings: Eliminate unbound ThreadSafeInterfacePtr (Closed)
Patch Set: . Created 3 years, 10 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: ipc/ipc_message_pipe_reader.h
diff --git a/ipc/ipc_message_pipe_reader.h b/ipc/ipc_message_pipe_reader.h
index 686982a97e369a77340f96c7d79966546b7849cb..b441960e3e1b0e41f77eb929a646dc0d70275317 100644
--- a/ipc/ipc_message_pipe_reader.h
+++ b/ipc/ipc_message_pipe_reader.h
@@ -84,7 +84,7 @@ class IPC_EXPORT MessagePipeReader : public NON_EXPORTED_BASE(mojom::Channel) {
void GetRemoteInterface(const std::string& name,
mojo::ScopedInterfaceEndpointHandle handle);
- mojom::Channel* sender() const { return sender_.get(); }
+ mojom::ChannelAssociatedPtr& sender() { return sender_; }
protected:
void OnPipeClosed();

Powered by Google App Engine
This is Rietveld 408576698