| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| ===================================================================
|
| --- content/browser/frame_host/render_frame_host_impl.cc (revision 271040)
|
| +++ content/browser/frame_host/render_frame_host_impl.cc (working copy)
|
| @@ -276,8 +276,7 @@
|
| return true;
|
|
|
| bool handled = true;
|
| - bool msg_is_ok = true;
|
| - IPC_BEGIN_MESSAGE_MAP_EX(RenderFrameHostImpl, msg, msg_is_ok)
|
| + IPC_BEGIN_MESSAGE_MAP(RenderFrameHostImpl, msg)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_AddMessageToConsole, OnAddMessageToConsole)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_Detach, OnDetach)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_FrameFocused, OnFrameFocused)
|
| @@ -316,15 +315,8 @@
|
| OnShowDesktopNotification)
|
| IPC_MESSAGE_HANDLER(DesktopNotificationHostMsg_Cancel,
|
| OnCancelDesktopNotification)
|
| - IPC_END_MESSAGE_MAP_EX()
|
| + IPC_END_MESSAGE_MAP()
|
|
|
| - if (!msg_is_ok) {
|
| - // The message had a handler, but its de-serialization failed.
|
| - // Kill the renderer.
|
| - RecordAction(base::UserMetricsAction("BadMessageTerminate_RFH"));
|
| - GetProcess()->ReceivedBadMessage();
|
| - }
|
| -
|
| return handled;
|
| }
|
|
|
|
|