Index: content/browser/renderer_host/browser_render_process_host.cc |
=================================================================== |
--- content/browser/renderer_host/browser_render_process_host.cc (revision 100701) |
+++ content/browser/renderer_host/browser_render_process_host.cc (working copy) |
@@ -653,6 +653,7 @@ |
return false; |
child_process_launcher_.reset(); |
+ ProcessDied(); |
fast_shutdown_started_ = true; |
return true; |
} |
@@ -802,6 +803,10 @@ |
} |
void BrowserRenderProcessHost::OnChannelError() { |
+ ProcessDied(); |
+} |
+ |
+void BrowserRenderProcessHost::ProcessDied() { |
// Our child process has died. If we didn't expect it, it's a crash. |
// In any case, we need to let everyone know it's gone. |
// The OnChannelError notification can fire multiple times due to nested sync |