Index: ipc/mojo/ipc_channel_mojo_readers.cc |
diff --git a/ipc/mojo/ipc_channel_mojo_readers.cc b/ipc/mojo/ipc_channel_mojo_readers.cc |
index 7af96f8d7cfc8d6fc731aab91f2511fa1bfbd26a..227a946851c0e6038b83a60509b3c90635d9b384 100644 |
--- a/ipc/mojo/ipc_channel_mojo_readers.cc |
+++ b/ipc/mojo/ipc_channel_mojo_readers.cc |
@@ -138,7 +138,7 @@ bool MessageReader::Send(scoped_ptr<Message> message) { |
std::vector<MojoHandle> handles; |
#if defined(OS_POSIX) && !defined(OS_NACL) |
MojoResult read_result = |
- ChannelMojo::ReadFromFileDescriptorSet(*message, &handles); |
+ ChannelMojo::ReadFromFileDescriptorSet(message.get(), &handles); |
if (read_result != MOJO_RESULT_OK) { |
std::for_each(handles.begin(), handles.end(), &MojoClose); |
CloseWithError(read_result); |