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

Unified Diff: components/proximity_auth/bluetooth_throttler_impl_unittest.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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
« no previous file with comments | « components/proximity_auth/bluetooth_throttler_impl.cc ('k') | components/proximity_auth/connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/bluetooth_throttler_impl_unittest.cc
diff --git a/components/proximity_auth/bluetooth_throttler_impl_unittest.cc b/components/proximity_auth/bluetooth_throttler_impl_unittest.cc
index d65ad7dbcf4f0f5e6f3a4b9472384f9512b14d5b..5cfc4c9fc85799a4f9f788ea524d440ae287e274 100644
--- a/components/proximity_auth/bluetooth_throttler_impl_unittest.cc
+++ b/components/proximity_auth/bluetooth_throttler_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "components/proximity_auth/bluetooth_throttler_impl.h"
+#include <utility>
+
#include "base/macros.h"
#include "base/test/simple_test_tick_clock.h"
#include "base/time/time.h"
@@ -17,7 +19,7 @@ namespace {
class TestBluetoothThrottler : public BluetoothThrottlerImpl {
public:
explicit TestBluetoothThrottler(scoped_ptr<base::TickClock> clock)
- : BluetoothThrottlerImpl(clock.Pass()) {}
+ : BluetoothThrottlerImpl(std::move(clock)) {}
~TestBluetoothThrottler() override {}
// Increase visibility for testing.
« no previous file with comments | « components/proximity_auth/bluetooth_throttler_impl.cc ('k') | components/proximity_auth/connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698