Index: base/metrics/statistics_recorder_unittest.cc |
diff --git a/base/metrics/statistics_recorder_unittest.cc b/base/metrics/statistics_recorder_unittest.cc |
index 813fbd13f5c30d7f806b78941e4108bf78ee548b..95125b8284f026c69a1d7a0e4922b0d1f27acc75 100644 |
--- a/base/metrics/statistics_recorder_unittest.cc |
+++ b/base/metrics/statistics_recorder_unittest.cc |
@@ -47,7 +47,7 @@ class StatisticsRecorderTest : public testing::TestWithParam<bool> { |
void InitializeStatisticsRecorder() { |
DCHECK(!statistics_recorder_); |
StatisticsRecorder::UninitializeForTesting(); |
- statistics_recorder_.reset(new StatisticsRecorder()); |
+ statistics_recorder_ = StatisticsRecorder::CreateTemporaryForTesting(); |
} |
void UninitializeStatisticsRecorder() { |