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 b3193c5fd213da998e110380e32bdb3da6392560..c6316c4a2d40bb0be21ed9ffd9d8ff547eee9042 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -1332,3 +1332,10 @@ void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> |
MHTMLGenerated(job_id, data_size); |
} |
+ |
+bool RenderProcessHostImpl::TerminateOnUnresponsiveAllowed() const { |
+ if (listeners_.size() > 1) |
+ return false; |
+ |
+ return true; |
+} |