Index: chrome/renderer/webplugin_delegate_proxy.cc |
=================================================================== |
--- chrome/renderer/webplugin_delegate_proxy.cc (revision 70108) |
+++ chrome/renderer/webplugin_delegate_proxy.cc (working copy) |
@@ -424,9 +424,10 @@ |
Send(new PluginMsg_InstallMissingPlugin(instance_id_)); |
} |
-void WebPluginDelegateProxy::OnMessageReceived(const IPC::Message& msg) { |
+bool WebPluginDelegateProxy::OnMessageReceived(const IPC::Message& msg) { |
child_process_logging::SetActiveURL(page_url_); |
+ bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(WebPluginDelegateProxy, msg) |
IPC_MESSAGE_HANDLER(PluginHostMsg_SetWindow, OnSetWindow) |
#if defined(OS_WIN) |
@@ -478,9 +479,10 @@ |
#endif |
IPC_MESSAGE_HANDLER(PluginHostMsg_URLRedirectResponse, |
OnURLRedirectResponse) |
- |
- IPC_MESSAGE_UNHANDLED_ERROR() |
+ IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
+ DCHECK(handled); |
+ return handled; |
} |
void WebPluginDelegateProxy::OnChannelError() { |