Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1395)

Unified Diff: chrome/browser/devtools/device/usb/android_usb_browsertest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/devtools/device/usb/android_usb_browsertest.cc
diff --git a/chrome/browser/devtools/device/usb/android_usb_browsertest.cc b/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
index e01a875d82277402ae806f41df3c782c9ffee5ee..d7fbbf93c11f79847bb4429120c7c6808a6f278c 100644
--- a/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
+++ b/chrome/browser/devtools/device/usb/android_usb_browsertest.cc
@@ -4,8 +4,8 @@
#include <stddef.h>
#include <stdint.h>
-
#include <algorithm>
+#include <utility>
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/location.h"
@@ -510,7 +510,7 @@ class MockUsbServiceForCheckingTraits : public MockUsbService {
class TestDeviceClient : public DeviceClient {
public:
explicit TestDeviceClient(scoped_ptr<UsbService> service)
- : DeviceClient(), usb_service_(service.Pass()) {}
+ : DeviceClient(), usb_service_(std::move(service)) {}
~TestDeviceClient() override {}
private:

Powered by Google App Engine
This is Rietveld 408576698