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

Unified Diff: chrome/browser/ui/browser_tab_strip_tracker.cc

Issue 2335203003: Add metrics to keep track of the tab activate/deactivate cycle (Closed)
Patch Set: Addressed comments Created 4 years, 3 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/browser_tab_strip_tracker.cc
diff --git a/chrome/browser/ui/browser_tab_strip_tracker.cc b/chrome/browser/ui/browser_tab_strip_tracker.cc
index 1d5e56314007f6fac6d00fc5cbc6d7422ad8cd4d..16a532763668c45b767ad23c75bff4b759e3a51c 100644
--- a/chrome/browser/ui/browser_tab_strip_tracker.cc
+++ b/chrome/browser/ui/browser_tab_strip_tracker.cc
@@ -71,7 +71,8 @@ void BrowserTabStripTracker::MaybeTrackBrowser(Browser* browser) {
const int active_index = tab_strip_model->active_index();
for (int i = 0; i < tab_strip_model->count(); ++i) {
tab_strip_model_observer_->TabInsertedAt(
- tab_strip_model->GetWebContentsAt(i), i, i == active_index);
+ tab_strip_model, tab_strip_model->GetWebContentsAt(i), i,
+ i == active_index);
}
}

Powered by Google App Engine
This is Rietveld 408576698