Index: chrome_frame/metrics_service.cc |
=================================================================== |
--- chrome_frame/metrics_service.cc (revision 147155) |
+++ chrome_frame/metrics_service.cc (working copy) |
@@ -85,10 +85,6 @@ |
base::Lock MetricsService::metrics_service_lock_; |
-// Initialize histogram statistics gathering system. |
-base::LazyInstance<base::StatisticsRecorder> |
- g_statistics_recorder_ = LAZY_INSTANCE_INITIALIZER; |
- |
// 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 |
// uploaded to the server. |
@@ -271,8 +267,7 @@ |
session_id_ = CrashMetricsReporter::GetInstance()->IncrementMetric( |
CrashMetricsReporter::SESSION_ID); |
- // Ensure that an instance of the StatisticsRecorder object is created. |
- g_statistics_recorder_.Get(); |
+ base::StatisticsRecorder::Initialize(); |
CrashMetricsReporter::GetInstance()->set_active(true); |
} |