Index: device/usb/usb_descriptors.cc |
diff --git a/device/usb/usb_descriptors.cc b/device/usb/usb_descriptors.cc |
index 8ff8e4d49fe8ae3f2fc5c3b6f03253a9beb31001..6bf794cc4d3a4d855d2734158890ced9dfc8da76 100644 |
--- a/device/usb/usb_descriptors.cc |
+++ b/device/usb/usb_descriptors.cc |
@@ -7,6 +7,7 @@ |
#include <stddef.h> |
#include <algorithm> |
+#include <memory> |
#include <vector> |
#include "base/barrier_closure.h" |
@@ -19,7 +20,7 @@ namespace device { |
namespace { |
using IndexMap = std::map<uint8_t, base::string16>; |
-using IndexMapPtr = scoped_ptr<IndexMap>; |
+using IndexMapPtr = std::unique_ptr<IndexMap>; |
// Standard USB requests and descriptor types: |
const uint8_t kGetDescriptorRequest = 0x06; |