Index: components/storage_monitor/portable_device_watcher_win.cc |
diff --git a/components/storage_monitor/portable_device_watcher_win.cc b/components/storage_monitor/portable_device_watcher_win.cc |
index b57f80a4aaa0975e7041c0e1fabf011865bcf317..bd94d8d5f88003982a6b14bca315b5b8ca7e773a 100644 |
--- a/components/storage_monitor/portable_device_watcher_win.cc |
+++ b/components/storage_monitor/portable_device_watcher_win.cc |
@@ -415,7 +415,7 @@ bool EnumerateAttachedDevicesOnBlockingThread( |
if (FAILED(hr)) |
return false; |
- scoped_ptr<base::char16*[]> pnp_device_ids( |
+ std::unique_ptr<base::char16*[]> pnp_device_ids( |
new base::char16*[pnp_device_count]); |
hr = portable_device_mgr->GetDevices(pnp_device_ids.get(), &pnp_device_count); |
if (FAILED(hr)) |