| Index: ipc/ipc_channel_proxy.cc
|
| diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
|
| index e48a71ccb57da8cd5f9bd52f28da061225ac48a7..a074e0c993a9aaaba06edbd7c8261a8f73cf6673 100644
|
| --- a/ipc/ipc_channel_proxy.cc
|
| +++ b/ipc/ipc_channel_proxy.cc
|
| @@ -86,6 +86,14 @@ bool ChannelProxy::Context::TryFilters(const Message& message) {
|
|
|
| // Called on the IPC::Channel thread
|
| bool ChannelProxy::Context::OnMessageReceived(const Message& message) {
|
| +
|
| + if (listener_task_runner_->BelongsToCurrentThread()) {
|
| + OnDispatchMessage(message);
|
| + return true;
|
| + }
|
| +
|
| +
|
| +
|
| // First give a chance to the filters to process this message.
|
| if (!TryFilters(message))
|
| OnMessageReceivedNoFilter(message);
|
|
|