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

Unified Diff: device/devices_app/devices_apptest.cc

Issue 1552763002: Global conversion of Pass()→std::move(): Linux GN static library edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual remove one more pessimizing move 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: device/devices_app/devices_apptest.cc
diff --git a/device/devices_app/devices_apptest.cc b/device/devices_app/devices_apptest.cc
index ff41a1a62a27006011149710383300db9905b37a..b6b150324523d5b58e743985c66898f62dac6ad0 100644
--- a/device/devices_app/devices_apptest.cc
+++ b/device/devices_app/devices_apptest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <utility>
+
#include "base/bind.h"
#include "base/callback.h"
#include "base/macros.h"
@@ -47,7 +49,7 @@ TEST_F(DevicesAppTest, GetUSBDevices) {
options->filters = mojo::Array<usb::DeviceFilterPtr>(1);
options->filters[0] = usb::DeviceFilter::New();
usb_device_manager()->GetDevices(
- options.Pass(), base::Bind(&OnGetDevices, loop.QuitClosure()));
+ std::move(options), base::Bind(&OnGetDevices, loop.QuitClosure()));
loop.Run();
}
« no previous file with comments | « components/devtools_service/devtools_service_delegate.cc ('k') | media/cast/receiver/frame_receiver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698