Index: base/metrics/statistics_recorder_unittest.cc |
diff --git a/base/metrics/statistics_recorder_unittest.cc b/base/metrics/statistics_recorder_unittest.cc |
index af054513176d92ecf2a507aa7e488e760c4d63d3..6be7d5bb881a893791f45c83e8ff552ffa69d452 100644 |
--- a/base/metrics/statistics_recorder_unittest.cc |
+++ b/base/metrics/statistics_recorder_unittest.cc |
@@ -32,7 +32,7 @@ class StatisticsRecorderTest : public testing::Test { |
void TearDown() override { |
UninitializeStatisticsRecorder(); |
- PersistentHistogramAllocator::ReleaseGlobalAllocatorForTesting(); |
+ GlobalHistogramAllocator::ReleaseForTesting(); |
} |
void InitializeStatisticsRecorder() { |
@@ -326,8 +326,7 @@ TEST_F(StatisticsRecorderTest, ToJSON) { |
TEST_F(StatisticsRecorderTest, IterationTest) { |
StatisticsRecorder::Histograms registered_histograms; |
LOCAL_HISTOGRAM_COUNTS("TestHistogram.IterationTest1", 30); |
- PersistentHistogramAllocator::CreateGlobalAllocatorOnLocalMemory( |
- 64 << 10 /* 64 KiB */, 0, ""); |
+ GlobalHistogramAllocator::CreateWithLocalMemory(64 << 10 /* 64 KiB */, 0, ""); |
LOCAL_HISTOGRAM_COUNTS("TestHistogram.IterationTest2", 30); |
StatisticsRecorder::HistogramIterator i1 = StatisticsRecorder::begin(true); |