Index: ipc/mojo/ipc_mojo_bootstrap.cc |
diff --git a/ipc/mojo/ipc_mojo_bootstrap.cc b/ipc/mojo/ipc_mojo_bootstrap.cc |
index a80b46103014ca07e305618d986a9b3f52239bc2..db498b40107c4756639eed962c88957cb06b8963 100644 |
--- a/ipc/mojo/ipc_mojo_bootstrap.cc |
+++ b/ipc/mojo/ipc_mojo_bootstrap.cc |
@@ -48,6 +48,7 @@ void MojoServerBootstrap::Connect() { |
bootstrap_.Bind(mojom::BootstrapPtrInfo(TakeHandle(), 0)); |
bootstrap_.set_connection_error_handler( |
base::Bind(&MojoServerBootstrap::Fail, base::Unretained(this))); |
+ bootstrap_.SetAllowSyncDispatch(true); |
IPC::mojom::ChannelAssociatedRequest send_channel_request; |
IPC::mojom::ChannelAssociatedPtrInfo receive_channel; |
@@ -107,6 +108,7 @@ void MojoClientBootstrap::Connect() { |
binding_.Bind(TakeHandle()); |
binding_.set_connection_error_handler( |
base::Bind(&MojoClientBootstrap::Fail, base::Unretained(this))); |
+ binding_.SetAllowSyncDispatch(true); |
} |
void MojoClientBootstrap::Init(mojom::ChannelAssociatedRequest receive_channel, |