| Index: base/metrics/persistent_histogram_allocator_unittest.cc
|
| diff --git a/base/metrics/persistent_histogram_allocator_unittest.cc b/base/metrics/persistent_histogram_allocator_unittest.cc
|
| index b6806622502d1fdc9aebac6183621e9da0efd8a0..31b7826f5a02460d1ed376dac5c47402466b87a3 100644
|
| --- a/base/metrics/persistent_histogram_allocator_unittest.cc
|
| +++ b/base/metrics/persistent_histogram_allocator_unittest.cc
|
| @@ -102,9 +102,8 @@ TEST_F(PersistentHistogramAllocatorTest, CreateAndIterateTest) {
|
|
|
| // Create a second allocator and have it access the memory of the first.
|
| std::unique_ptr<HistogramBase> recovered;
|
| - PersistentHistogramAllocator recovery(
|
| - WrapUnique(new PersistentMemoryAllocator(
|
| - allocator_memory_.get(), kAllocatorMemorySize, 0, 0, "", false)));
|
| + PersistentHistogramAllocator recovery(MakeUnique<PersistentMemoryAllocator>(
|
| + allocator_memory_.get(), kAllocatorMemorySize, 0, 0, "", false));
|
| PersistentHistogramAllocator::Iterator histogram_iter(&recovery);
|
|
|
| recovered = histogram_iter.GetNext();
|
| @@ -181,9 +180,8 @@ TEST_F(PersistentHistogramAllocatorTest, StatisticsRecorderTest) {
|
|
|
| // Create a second allocator and have it access the memory of the first.
|
| std::unique_ptr<HistogramBase> recovered;
|
| - PersistentHistogramAllocator recovery(
|
| - WrapUnique(new PersistentMemoryAllocator(
|
| - allocator_memory_.get(), kAllocatorMemorySize, 0, 0, "", false)));
|
| + PersistentHistogramAllocator recovery(MakeUnique<PersistentMemoryAllocator>(
|
| + allocator_memory_.get(), kAllocatorMemorySize, 0, 0, "", false));
|
| PersistentHistogramAllocator::Iterator histogram_iter(&recovery);
|
|
|
| recovered = histogram_iter.GetNext();
|
|
|