Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index ce9d1ecb6827d07ad87e082ca4bbdfa8bf256458..8380b0774eb352aa93fc4697cd4a3bcf131cf0d1 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1207,7 +1207,7 @@ void RenderWidgetHostImpl::RendererExited(base::TerminationStatus status, |
// We need to at least make sure that the RenderProcessHost is notified about |
// the |is_hidden_| change, so that the renderer will have correct visibility |
// set when respawned. |
- if (!is_hidden_) { |
+ if (is_hidden_) { |
process_->WidgetRestored(); |
is_hidden_ = false; |
} |