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

Unified Diff: chrome/browser/sync/test_profile_sync_service.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/sync/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 9a9bb7192c7e8e95aadb63b05c756a9185fe7e5a..bef1b3db98825bd3768323aefce1bbdbba759355 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/sync/test_profile_sync_service.h"
+#include <utility>
+
#include "base/location.h"
#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
@@ -99,7 +101,7 @@ void SyncBackendHostForProfileSyncTest::InitCore(
factory_switches, InternalComponentsFactory::STORAGE_IN_MEMORY,
NULL));
- SyncBackendHostImpl::InitCore(options.Pass());
+ SyncBackendHostImpl::InitCore(std::move(options));
}
void SyncBackendHostForProfileSyncTest::RequestConfigureSyncer(

Powered by Google App Engine
This is Rietveld 408576698