Index: components/metrics/metrics_service.cc |
diff --git a/components/metrics/metrics_service.cc b/components/metrics/metrics_service.cc |
index a472188f30ed9a2e822efdca722ea963a7d50573..2c6b8ef0a2465233e695fcf8420dda38c2067e36 100644 |
--- a/components/metrics/metrics_service.cc |
+++ b/components/metrics/metrics_service.cc |
@@ -1140,9 +1140,8 @@ void MetricsService::GetSyntheticFieldTrialsOlderThan( |
std::unique_ptr<MetricsLog> MetricsService::CreateLog( |
MetricsLog::LogType log_type) { |
- return base::WrapUnique(new MetricsLog(state_manager_->client_id(), |
- session_id_, log_type, client_, |
- local_state_)); |
+ return base::MakeUnique<MetricsLog>(state_manager_->client_id(), session_id_, |
+ log_type, client_, local_state_); |
} |
void MetricsService::RecordCurrentEnvironment(MetricsLog* log) { |