| Index: components/metrics/cloned_install_detector_unittest.cc
|
| diff --git a/components/metrics/cloned_install_detector_unittest.cc b/components/metrics/cloned_install_detector_unittest.cc
|
| index 91b24e8bf5735723e384886b592154c2d5e93f62..92625996ac5c8c5f0c979188f7423ddc0f7528a6 100644
|
| --- a/components/metrics/cloned_install_detector_unittest.cc
|
| +++ b/components/metrics/cloned_install_detector_unittest.cc
|
| @@ -27,7 +27,7 @@ TEST(ClonedInstallDetectorTest, SaveId) {
|
| TestingPrefServiceSimple prefs;
|
| ClonedInstallDetector::RegisterPrefs(prefs.registry());
|
|
|
| - scoped_ptr<ClonedInstallDetector> detector(
|
| + std::unique_ptr<ClonedInstallDetector> detector(
|
| new ClonedInstallDetector(MachineIdProvider::CreateInstance()));
|
|
|
| detector->SaveMachineId(&prefs, kTestRawId);
|
| @@ -42,7 +42,7 @@ TEST(ClonedInstallDetectorTest, DetectClone) {
|
| // Save a machine id that will cause a clone to be detected.
|
| prefs.SetInteger(prefs::kMetricsMachineId, kTestHashedId + 1);
|
|
|
| - scoped_ptr<ClonedInstallDetector> detector(
|
| + std::unique_ptr<ClonedInstallDetector> detector(
|
| new ClonedInstallDetector(MachineIdProvider::CreateInstance()));
|
|
|
| detector->SaveMachineId(&prefs, kTestRawId);
|
|
|