diff options
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/child_process_host.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/child_process_host.cc b/chrome/browser/child_process_host.cc index 539670b..0c87021 100644 --- a/chrome/browser/child_process_host.cc +++ b/chrome/browser/child_process_host.cc @@ -219,9 +219,10 @@ void ChildProcessHost::ListenerHook::OnMessageReceived( bool msg_is_ok = true; bool handled = false; - if (host_->resource_dispatcher_host_) - host_->resource_dispatcher_host_->OnMessageReceived( + if (host_->resource_dispatcher_host_) { + handled = host_->resource_dispatcher_host_->OnMessageReceived( msg, host_, &msg_is_ok); + } if (!handled) { if (msg.type() == PluginProcessHostMsg_ShutdownRequest::ID) { |