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

Unified Diff: chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc

Issue 2757293004: Remove DCHECK when initializing the TabUsageRecorder. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/metrics/tab_usage_recorder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
diff --git a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
index 7724a422e1240427a91df0073722fbbdd919888f..427d676e69f33d95658b73ff6e70f1864947f85a 100644
--- a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
+++ b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc
@@ -413,7 +413,7 @@ void ChromeBrowserMainExtraPartsMetrics::PostBrowserStart() {
#if !defined(OS_ANDROID)
metrics::BeginFirstWebContentsProfiling();
- metrics::TabUsageRecorder::Initialize();
+ metrics::TabUsageRecorder::InitializeIfNeeded();
#endif // !defined(OS_ANDROID)
}
« no previous file with comments | « no previous file | chrome/browser/metrics/tab_usage_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698