Index: components/storage_monitor/test_storage_monitor.cc |
diff --git a/components/storage_monitor/test_storage_monitor.cc b/components/storage_monitor/test_storage_monitor.cc |
index a7b52f41f4a873104ca456725b9b4bc28b5e70c2..45ed4389b39e21c8a3a10957f43f398c6ae326df 100644 |
--- a/components/storage_monitor/test_storage_monitor.cc |
+++ b/components/storage_monitor/test_storage_monitor.cc |
@@ -32,7 +32,7 @@ TestStorageMonitor::~TestStorageMonitor() {} |
// static |
TestStorageMonitor* TestStorageMonitor::CreateAndInstall() { |
TestStorageMonitor* monitor = new TestStorageMonitor(); |
- scoped_ptr<StorageMonitor> pass_monitor(monitor); |
+ std::unique_ptr<StorageMonitor> pass_monitor(monitor); |
monitor->Init(); |
monitor->MarkInitialized(); |
@@ -50,7 +50,7 @@ TestStorageMonitor* TestStorageMonitor::CreateForBrowserTests() { |
monitor->Init(); |
monitor->MarkInitialized(); |
- scoped_ptr<StorageMonitor> pass_monitor(monitor); |
+ std::unique_ptr<StorageMonitor> pass_monitor(monitor); |
StorageMonitor::SetStorageMonitorForTesting(std::move(pass_monitor)); |
return monitor; |