Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 2e7bba8213b63d973faae74ba03d1c3731754d5a..09ef9bac973a6942728953c27d503356be909bde 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -721,7 +721,8 @@ void RenderProcessHostImpl::ReceivedBadMessage() { |
// crash. |
CHECK(false); |
} |
- NOTREACHED(); |
+ // We kill the renderer but don't include a NOTREACHED, because we want the |
+ // browser to try to survive when it gets illegal messages from the renderer. |
base::KillProcess(GetHandle(), RESULT_CODE_KILLED_BAD_MESSAGE, |
false); |
} |