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

Unified Diff: chrome_frame/metrics_service.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix CrOS Created 9 years, 1 month 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_frame/metrics_service.cc
diff --git a/chrome_frame/metrics_service.cc b/chrome_frame/metrics_service.cc
index 9af220b864f6702f51c64112396cb259fb3129a0..b574e75fd1f413601c9e5c51ee70ee1102f28b60 100644
--- a/chrome_frame/metrics_service.cc
+++ b/chrome_frame/metrics_service.cc
@@ -78,13 +78,13 @@ static const int kInitialUMAUploadTimeoutMilliSeconds = 30000;
static const int kMinMilliSecondsPerUMAUpload = 600000;
base::LazyInstance<base::ThreadLocalPointer<MetricsService> >
- MetricsService::g_metrics_instance_(base::LINKER_INITIALIZED);
+ MetricsService::g_metrics_instance_ = LINKER_ZERO_INITIALIZED;
base::Lock MetricsService::metrics_service_lock_;
// Initialize histogram statistics gathering system.
base::LazyInstance<base::StatisticsRecorder>
- g_statistics_recorder_(base::LINKER_INITIALIZED);
+ g_statistics_recorder_ = LINKER_ZERO_INITIALIZED;
// This class provides functionality to upload the ChromeFrame UMA data to the
// server. An instance of this class is created whenever we have data to be

Powered by Google App Engine
This is Rietveld 408576698