Index: device/usb/usb_service_impl.cc |
diff --git a/device/usb/usb_service_impl.cc b/device/usb/usb_service_impl.cc |
index 1f6ca57f2a7788febab8a0e6786ea3b8a4cb3859..b169d83074507ddbb6c07e3a1c4a793a04434749 100644 |
--- a/device/usb/usb_service_impl.cc |
+++ b/device/usb/usb_service_impl.cc |
@@ -5,9 +5,9 @@ |
#include "device/usb/usb_service_impl.h" |
#include <stdint.h> |
- |
#include <list> |
#include <set> |
+#include <utility> |
#include "base/barrier_closure.h" |
#include "base/bind.h" |
@@ -197,7 +197,7 @@ void OnReadWebUsbAllowedOrigins(scoped_refptr<UsbDevice> device, |
if (descriptors->Parse( |
std::vector<uint8_t>(buffer->data(), buffer->data() + length))) { |
UsbDeviceImpl* device_impl = static_cast<UsbDeviceImpl*>(device.get()); |
- device_impl->set_webusb_allowed_origins(descriptors.Pass()); |
+ device_impl->set_webusb_allowed_origins(std::move(descriptors)); |
} |
callback.Run(); |
} |