Index: device/usb/usb_device_handle_impl.h |
diff --git a/device/usb/usb_device_handle_impl.h b/device/usb/usb_device_handle_impl.h |
index 6365383a517d05579797df86b509ed6d63485657..82b0a5e082efcc703914152079e8abd4b4933777 100644 |
--- a/device/usb/usb_device_handle_impl.h |
+++ b/device/usb/usb_device_handle_impl.h |
@@ -9,6 +9,7 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <set> |
#include <vector> |
@@ -179,7 +180,7 @@ class UsbDeviceHandleImpl : public UsbDeviceHandle { |
// Submits a transfer and starts tracking it. Retains the buffer and copies |
// the completion callback until the transfer finishes, whereupon it invokes |
// the callback then releases the buffer. |
- void SubmitTransfer(scoped_ptr<Transfer> transfer); |
+ void SubmitTransfer(std::unique_ptr<Transfer> transfer); |
// Removes the transfer from the in-flight transfer set and invokes the |
// completion callback. |