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

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

Issue 8539027: Add SwappedOut to TabContentsDelegate to allow us to correctly delete TabContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux compile Created 9 years, 1 month 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
Index: content/browser/renderer_host/render_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index 2228aafe6b265184c790b02f53650a155ab5bebc..e9c4be2b353304848ee0a194b6800d266e045bb8 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -348,6 +348,7 @@ void RenderViewHost::OnSwapOutACK() {
// Stop the hang monitor now that the unload handler has finished.
StopHangMonitorTimeout();
is_waiting_for_unload_ack_ = false;
+ delegate_->SwappedOut(this);
}
void RenderViewHost::WasSwappedOut() {

Powered by Google App Engine
This is Rietveld 408576698