| Index: mojo/edk/system/data_pipe_producer_dispatcher.cc
|
| diff --git a/mojo/edk/system/data_pipe_producer_dispatcher.cc b/mojo/edk/system/data_pipe_producer_dispatcher.cc
|
| index 3a579c8ec35d7a7f6b95671a588708475ce80d66..47a8b430b74cd553a77bd23a2e70d6921def7336 100644
|
| --- a/mojo/edk/system/data_pipe_producer_dispatcher.cc
|
| +++ b/mojo/edk/system/data_pipe_producer_dispatcher.cc
|
| @@ -25,6 +25,8 @@ void DataPipeProducerDispatcher::Init(
|
| nullptr, 0u, serialized_write_buffer, serialized_write_buffer_size);
|
| internal::g_io_thread_task_runner->PostTask(
|
| FROM_HERE, base::Bind(&DataPipeProducerDispatcher::InitOnIO, this));
|
| + } else {
|
| + error_ = true;
|
| }
|
| }
|
|
|
| @@ -72,10 +74,8 @@ DataPipeProducerDispatcher::Deserialize(
|
| serialized_write_buffer_size = shared_memory_size;
|
| }
|
|
|
| - if (platform_handle.is_valid()) {
|
| - rv->Init(platform_handle.Pass(), serialized_write_buffer,
|
| - serialized_write_buffer_size);
|
| - }
|
| + rv->Init(platform_handle.Pass(), serialized_write_buffer,
|
| + serialized_write_buffer_size);
|
| return rv;
|
| }
|
|
|
|
|