Index: chrome/browser/browser.cc |
=================================================================== |
--- chrome/browser/browser.cc (revision 2568) |
+++ chrome/browser/browser.cc (working copy) |
@@ -1115,7 +1115,7 @@ |
// get a perf benefit from that in the cases where the tab hangs in it's |
// unload handler or takes a long time to page in. |
TabContents* tab = tabs_needing_unload_fired_.back(); |
- tab->AsWebContents()->FirePageUnload(); |
+ tab->AsWebContents()->render_view_host()->FirePageUnload(); |
} else { |
NOTREACHED(); |
} |