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

Unified Diff: components/sync_driver/profile_sync_auth_provider.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/sync_driver/profile_sync_auth_provider.cc
diff --git a/components/sync_driver/profile_sync_auth_provider.cc b/components/sync_driver/profile_sync_auth_provider.cc
index a342871925cf46b23a5cc0670a842a1689f1109f..894a20c82c55a17f17d8adfd872b7d62869cbac5 100644
--- a/components/sync_driver/profile_sync_auth_provider.cc
+++ b/components/sync_driver/profile_sync_auth_provider.cc
@@ -134,5 +134,5 @@ ProfileSyncAuthProvider::CreateProviderForSyncThread() {
DCHECK(CalledOnValidThread());
scoped_ptr<syncer::SyncAuthProvider> auth_provider(new SyncThreadProxy(
weak_factory_.GetWeakPtr(), base::ThreadTaskRunnerHandle::Get()));
- return auth_provider.Pass();
+ return auth_provider;
}

Powered by Google App Engine
This is Rietveld 408576698