Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: chrome/browser/ui/tabs/tab_strip_model.cc

Issue 17151010: Move histograms and supporting code that don't belong in content out. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/tabs/tab_strip_model.cc
===================================================================
--- chrome/browser/ui/tabs/tab_strip_model.cc (revision 207139)
+++ 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

Powered by Google App Engine
This is Rietveld 408576698