Index: components/metrics/file_metrics_provider.cc |
diff --git a/components/metrics/file_metrics_provider.cc b/components/metrics/file_metrics_provider.cc |
index 14d853a14f87599e79784c35a9d2629c2426977b..aa81a0cd1f02c55dd7255bc17711c9323213dafe 100644 |
--- a/components/metrics/file_metrics_provider.cc |
+++ b/components/metrics/file_metrics_provider.cc |
@@ -325,8 +325,8 @@ FileMetricsProvider::AccessResult FileMetricsProvider::CheckAndMapMetricSource( |
// Create an allocator for the mapped file. Ownership passes to the allocator. |
source->allocator.reset(new base::PersistentHistogramAllocator( |
- base::WrapUnique(new base::FilePersistentMemoryAllocator( |
- std::move(mapped), 0, 0, base::StringPiece(), read_only)))); |
+ base::MakeUnique<base::FilePersistentMemoryAllocator>( |
+ std::move(mapped), 0, 0, base::StringPiece(), read_only))); |
return ACCESS_RESULT_SUCCESS; |
} |