Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1777)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 16593002: Fix http://crbug.com/87176, and write a browsertest for it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21c20c9fa3cb30f9d94e39ee60cda8f577ca6f4b..2f5bb7a2260b3a96a89ca1097b7ec1fcbd0550fc 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1687,7 +1687,7 @@ void RenderProcessHostImpl::OnShutdownRequest() {
// to close, or if there are pending RenderViews being swapped back in.
// In single process mode, we never shutdown the renderer.
int num_active_views = GetActiveViewCount();
- if (pending_views_ || num_active_views > 1 || run_renderer_in_process())
+ if (pending_views_ || num_active_views > 0 || run_renderer_in_process())
return;
// Notify any contents that might have swapped out renderers from this
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698