Index: base/metrics/histogram_delta_serialization_unittest.cc |
diff --git a/base/metrics/histogram_delta_serialization_unittest.cc b/base/metrics/histogram_delta_serialization_unittest.cc |
index 93f719826f3e7f207077ef65d1fbc7e84476aae5..80a70096716908312467e4fbcc94dacf859add23 100644 |
--- a/base/metrics/histogram_delta_serialization_unittest.cc |
+++ b/base/metrics/histogram_delta_serialization_unittest.cc |
@@ -34,7 +34,7 @@ TEST(HistogramDeltaSerializationTest, DeserializeHistogramAndAddSamples) { |
HistogramDeltaSerialization::DeserializeAndAddSamples(deltas); |
// The histogram has kIPCSerializationSourceFlag. So samples will be ignored. |
- scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); |
+ std::unique_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); |
EXPECT_EQ(1, snapshot->GetCount(1)); |
EXPECT_EQ(1, snapshot->GetCount(10)); |
EXPECT_EQ(1, snapshot->GetCount(100)); |
@@ -44,7 +44,7 @@ TEST(HistogramDeltaSerializationTest, DeserializeHistogramAndAddSamples) { |
histogram->ClearFlags(HistogramBase::kIPCSerializationSourceFlag); |
HistogramDeltaSerialization::DeserializeAndAddSamples(deltas); |
- scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); |
+ std::unique_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); |
EXPECT_EQ(2, snapshot2->GetCount(1)); |
EXPECT_EQ(2, snapshot2->GetCount(10)); |
EXPECT_EQ(2, snapshot2->GetCount(100)); |