| Index: content/browser/worker_host/worker_process_host.cc
|
| ===================================================================
|
| --- content/browser/worker_host/worker_process_host.cc (revision 270662)
|
| +++ content/browser/worker_host/worker_process_host.cc (working copy)
|
| @@ -373,9 +373,8 @@
|
| }
|
|
|
| bool WorkerProcessHost::OnMessageReceived(const IPC::Message& message) {
|
| - bool msg_is_ok = true;
|
| bool handled = true;
|
| - IPC_BEGIN_MESSAGE_MAP_EX(WorkerProcessHost, message, msg_is_ok)
|
| + IPC_BEGIN_MESSAGE_MAP(WorkerProcessHost, message)
|
| IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerContextClosed,
|
| OnWorkerContextClosed)
|
| IPC_MESSAGE_HANDLER(WorkerHostMsg_WorkerContextDestroyed,
|
| @@ -394,13 +393,6 @@
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP_EX()
|
|
|
| - if (!msg_is_ok) {
|
| - NOTREACHED();
|
| - RecordAction(base::UserMetricsAction("BadMessageTerminate_WPH"));
|
| - base::KillProcess(
|
| - process_->GetData().handle, RESULT_CODE_KILLED_BAD_MESSAGE, false);
|
| - }
|
| -
|
| return handled;
|
| }
|
|
|
|
|