Index: chrome/browser/ui/tabs/tab_strip_model.cc |
=================================================================== |
--- chrome/browser/ui/tabs/tab_strip_model.cc (revision 206723) |
+++ chrome/browser/ui/tabs/tab_strip_model.cc (working copy) |
@@ -1115,7 +1115,9 @@ |
if (index == kNoTab) |
continue; |
- closing_contents->OnCloseStarted(); |
+ CoreTabHelper* core_tab_helper = |
+ CoreTabHelper::FromWebContents(closing_contents); |
+ core_tab_helper->OnCloseStarted(); |
// Update the explicitly closed state. If the unload handlers cancel the |
// close the state is reset in Browser. We don't update the explicitly |