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

Unified Diff: components/proximity_auth/cryptauth/sync_scheduler_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
Index: components/proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc
diff --git a/components/proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc b/components/proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc
index 8b736aebf97d2fc601eeb81f3163fef1d2a02b09..a62fb3fd536cc1ef73e540600d5be24f2c54c3e7 100644
--- a/components/proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc
+++ b/components/proximity_auth/cryptauth/sync_scheduler_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "components/proximity_auth/cryptauth/sync_scheduler_impl.h"
+#include <utility>
+
#include "base/macros.h"
#include "base/timer/mock_timer.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -87,7 +89,7 @@ class ProximityAuthSyncSchedulerImplTest : public testing::Test,
void OnSyncRequested(
scoped_ptr<SyncScheduler::SyncRequest> sync_request) override {
- sync_request_ = sync_request.Pass();
+ sync_request_ = std::move(sync_request);
}
base::MockTimer* timer() { return scheduler_->timer(); }

Powered by Google App Engine
This is Rietveld 408576698