Index: chrome/browser/ui/tabs/tab_strip_model.cc |
diff --git a/chrome/browser/ui/tabs/tab_strip_model.cc b/chrome/browser/ui/tabs/tab_strip_model.cc |
index 78c8f0e1fa9620c82c4bac5195361223f1d84cdb..a550ca0eac4eb795918b20af92e459524c5ebfc8 100644 |
--- a/chrome/browser/ui/tabs/tab_strip_model.cc |
+++ b/chrome/browser/ui/tabs/tab_strip_model.cc |
@@ -1115,7 +1115,9 @@ bool TabStripModel::InternalCloseTabs(const std::vector<int>& indices, |
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 |