Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Unified Diff: components/storage_monitor/storage_monitor.cc

Issue 1884743002: Convert a few components from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/storage_monitor/storage_monitor.h ('k') | components/storage_monitor/storage_monitor_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_monitor.cc
diff --git a/components/storage_monitor/storage_monitor.cc b/components/storage_monitor/storage_monitor.cc
index e571dd2088124c4172fc335f6de191921cd45a44..6f2b23ccaceb3c50c723479236b17435acab4c65 100644
--- a/components/storage_monitor/storage_monitor.cc
+++ b/components/storage_monitor/storage_monitor.cc
@@ -66,7 +66,7 @@ StorageMonitor* StorageMonitor::GetInstance() {
}
void StorageMonitor::SetStorageMonitorForTesting(
- scoped_ptr<StorageMonitor> storage_monitor) {
+ std::unique_ptr<StorageMonitor> storage_monitor) {
delete g_storage_monitor;
g_storage_monitor = storage_monitor.release();
}
« no previous file with comments | « components/storage_monitor/storage_monitor.h ('k') | components/storage_monitor/storage_monitor_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698