Index: components/metrics/metrics_service.cc |
diff --git a/components/metrics/metrics_service.cc b/components/metrics/metrics_service.cc |
index fe5348940b60d0be62aeb8088a6542d5fe6cdbdb..598d9daa7f813613f113d61d43595d1e43575fa7 100644 |
--- a/components/metrics/metrics_service.cc |
+++ b/components/metrics/metrics_service.cc |
@@ -1045,7 +1045,7 @@ void MetricsService::RegisterSyntheticFieldTrial( |
void MetricsService::RegisterMetricsProvider( |
scoped_ptr<MetricsProvider> provider) { |
DCHECK_EQ(INITIALIZED, state_); |
- metrics_providers_.push_back(provider.release()); |
+ metrics_providers_.push_back(provider.Pass()); |
} |
void MetricsService::CheckForClonedInstall( |