Index: trunk/src/content/browser/frame_host/interstitial_page_impl.h |
=================================================================== |
--- trunk/src/content/browser/frame_host/interstitial_page_impl.h (revision 241158) |
+++ trunk/src/content/browser/frame_host/interstitial_page_impl.h (working copy) |
@@ -180,8 +180,8 @@ |
// - any command sent by the RenderViewHost will be ignored. |
void Disable(); |
- // Delete ourselves, causing Shutdown on the RVH to be called. |
- void Shutdown(); |
+ // Shutdown the RVH. We will be deleted by the time this method returns. |
+ void Shutdown(RenderViewHostImpl* render_view_host); |
void OnNavigatingAwayOrTabClosing(); |
@@ -229,8 +229,6 @@ |
// The RenderViewHost displaying the interstitial contents. This is valid |
// until Hide is called, at which point it will be set to NULL, signifying |
// that shutdown has started. |
- // TODO(creis): This is now owned by the FrameTree. We should route things |
- // through the tree's root RenderFrameHost instead. |
RenderViewHostImpl* render_view_host_; |
// The frame tree structure of the current page. |