diff options
Diffstat (limited to 'mojo/embedder/embedder.cc')
-rw-r--r-- | mojo/embedder/embedder.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mojo/embedder/embedder.cc b/mojo/embedder/embedder.cc index ed6aecf..db8d930 100644 --- a/mojo/embedder/embedder.cc +++ b/mojo/embedder/embedder.cc @@ -40,9 +40,10 @@ static void CreateChannelOnIOThread( system::MessageInTransit::EndpointId endpoint_id = channel_info->channel->AttachMessagePipeEndpoint(message_pipe, 1); DCHECK_EQ(endpoint_id, system::Channel::kBootstrapEndpointId); - channel_info->channel->RunMessagePipeEndpoint( + success = channel_info->channel->RunMessagePipeEndpoint( system::Channel::kBootstrapEndpointId, system::Channel::kBootstrapEndpointId); + DCHECK(success); // This shouldn't fail. // Hand the channel back to the embedder. if (callback_thread_task_runner) { |