Index: mojo/edk/system/data_pipe_consumer_dispatcher.cc |
diff --git a/mojo/edk/system/data_pipe_consumer_dispatcher.cc b/mojo/edk/system/data_pipe_consumer_dispatcher.cc |
index f978f9498e99f921123eceabe6d2a20290d737ee..7bf0b0177acdbd0a2a86891d6f6473cbbfab6752 100644 |
--- a/mojo/edk/system/data_pipe_consumer_dispatcher.cc |
+++ b/mojo/edk/system/data_pipe_consumer_dispatcher.cc |
@@ -403,6 +403,7 @@ DataPipeConsumerDispatcher::Deserialize(const void* data, |
scoped_refptr<PlatformSharedBuffer> ring_buffer = |
PlatformSharedBuffer::CreateFromPlatformHandle( |
state->options.capacity_num_bytes, |
+ false /* read_only */, |
ScopedPlatformHandle(buffer_handle)); |
if (!ring_buffer) { |
DLOG(ERROR) << "Failed to deserialize shared buffer handle."; |