summaryrefslogtreecommitdiffstats
path: root/chrome/browser/instant/instant_unload_handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/instant/instant_unload_handler.cc')
-rw-r--r--chrome/browser/instant/instant_unload_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/instant/instant_unload_handler.cc b/chrome/browser/instant/instant_unload_handler.cc
index a999439..c3f4f82 100644
--- a/chrome/browser/instant/instant_unload_handler.cc
+++ b/chrome/browser/instant/instant_unload_handler.cc
@@ -85,7 +85,7 @@ void InstantUnloadHandler::RunUnloadListenersOrDestroy(TabContentsWrapper* tab,
// TODO: decide if we really want false here. false is used for tab closes,
// and is needed so that the tab correctly closes but it doesn't really match
// what's logically happening.
- tab->tab_contents()->render_view_host()->FirePageBeforeUnload(false);
+ tab->tab_contents()->GetRenderViewHost()->FirePageBeforeUnload(false);
}
void InstantUnloadHandler::Activate(TabContentsDelegateImpl* delegate) {