Index: base/metrics/histogram_unittest.cc |
diff --git a/base/metrics/histogram_unittest.cc b/base/metrics/histogram_unittest.cc |
index 03dc7bda8b912f9ab30ca03e54459303e8829c02..1e7bc236758d8b77c5fa20395308f01ddea6a7c3 100644 |
--- a/base/metrics/histogram_unittest.cc |
+++ b/base/metrics/histogram_unittest.cc |
@@ -68,17 +68,16 @@ class HistogramTest : public testing::TestWithParam<bool> { |
// By getting the results-histogram before any persistent allocator |
// is attached, that histogram is guaranteed not to be stored in |
// any persistent memory segment (which simplifies some tests). |
- PersistentHistogramAllocator::GetCreateHistogramResultHistogram(); |
+ GlobalHistogramAllocator::GetCreateHistogramResultHistogram(); |
- PersistentHistogramAllocator::CreateGlobalAllocatorOnLocalMemory( |
+ GlobalHistogramAllocator::CreateWithLocalMemory( |
kAllocatorMemorySize, 0, "HistogramAllocatorTest"); |
- allocator_ = |
- PersistentHistogramAllocator::GetGlobalAllocator()->memory_allocator(); |
+ allocator_ = GlobalHistogramAllocator::Get()->memory_allocator(); |
} |
void DestroyPersistentHistogramAllocator() { |
allocator_ = nullptr; |
- PersistentHistogramAllocator::ReleaseGlobalAllocatorForTesting(); |
+ GlobalHistogramAllocator::ReleaseForTesting(); |
} |
const bool use_persistent_histogram_allocator_; |