Index: device/usb/usb_device_impl.h |
diff --git a/device/usb/usb_device_impl.h b/device/usb/usb_device_impl.h |
index fed3db8400bfc0a7d16b190de16b8b97a86394b1..337c0e8642b6e4c3edadbf382e38e5b98d6b5473 100644 |
--- a/device/usb/usb_device_impl.h |
+++ b/device/usb/usb_device_impl.h |
@@ -6,7 +6,7 @@ |
#define DEVICE_USB_USB_DEVICE_IMPL_H_ |
#include <stdint.h> |
- |
+#include <utility> |
#include <vector> |
#include "base/callback.h" |
@@ -61,7 +61,7 @@ class UsbDeviceImpl : public UsbDevice { |
} |
void set_device_path(const std::string& value) { device_path_ = value; } |
void set_webusb_allowed_origins(scoped_ptr<WebUsbDescriptorSet> descriptors) { |
- webusb_allowed_origins_ = descriptors.Pass(); |
+ webusb_allowed_origins_ = std::move(descriptors); |
} |
void set_webusb_landing_page(const GURL& url) { webusb_landing_page_ = url; } |