Index: content/browser/renderer_host/render_widget_host.cc |
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc |
index ca675f4f283b43ac61a29343c58aefdff4876ea9..7b4e32047e055c7d3fe9809e9902244acb05cd71 100644 |
--- a/content/browser/renderer_host/render_widget_host.cc |
+++ b/content/browser/renderer_host/render_widget_host.cc |
@@ -300,6 +300,14 @@ void RenderWidgetHost::WasRestored() { |
WasResized(); |
} |
+void RenderWidgetHost::WasSwappedOut() { |
Charlie Reis
2011/04/29 17:53:53
I also moved this to RenderViewHost, since we don'
|
+ // Don't bother reporting hung state anymore. |
+ StopHangMonitorTimeout(); |
+ |
+ // Inform the renderer that it can exit if no one else is using it. |
+ Send(new ViewMsg_WasSwappedOut(routing_id_)); |
+} |
+ |
void RenderWidgetHost::WasResized() { |
if (resize_ack_pending_ || !process_->HasConnection() || !view_ || |
!renderer_initialized_) { |