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

Unified Diff: sync/internal_api/sync_context_proxy_impl_unittest.cc

Issue 1539843002: Convert Pass()→std::move() in sync/ (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: sync/internal_api/sync_context_proxy_impl_unittest.cc
diff --git a/sync/internal_api/sync_context_proxy_impl_unittest.cc b/sync/internal_api/sync_context_proxy_impl_unittest.cc
index e0f0a81d674bf52ee7d7786f92d35f37dc6a1f30..c90fda1bfb2a87cbd294dc1caa5c74e8573d3d3f 100644
--- a/sync/internal_api/sync_context_proxy_impl_unittest.cc
+++ b/sync/internal_api/sync_context_proxy_impl_unittest.cc
@@ -4,6 +4,7 @@
#include "sync/internal_api/sync_context_proxy_impl.h"
+#include <utility>
#include <vector>
#include "base/bind.h"
@@ -54,7 +55,7 @@ class SyncContextProxyImplTest : public ::testing::Test, FakeModelTypeService {
void StartDone(syncer::SyncError error,
scoped_ptr<ActivationContext> context) {
- context_proxy_->ConnectTypeToSync(syncer::THEMES, context.Pass());
+ context_proxy_->ConnectTypeToSync(syncer::THEMES, std::move(context));
}
scoped_ptr<SharedModelTypeProcessor> CreateModelTypeProcessor() {

Powered by Google App Engine
This is Rietveld 408576698