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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 552393002: Convert this static method to a member method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@product_string_path
Patch Set: Created 6 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
« no previous file with comments | « no previous file | components/metrics/metrics_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 0dfe121a4a511e236ea9e1d37335a2745a68d3ca..4d49e3c5d20ca722bc6bb6e94a15f1c3946e56e2 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1421,8 +1421,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
// http://crbug.com/179143
#if !defined(OS_ANDROID)
// Start watching for a hang.
- metrics::MetricsService::LogNeedForCleanShutdown(
- g_browser_process->local_state());
+ browser_process_->metrics_service()->LogNeedForCleanShutdown();
#endif
#if defined(ENABLE_FULL_PRINTING)
« no previous file with comments | « no previous file | components/metrics/metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698