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; |
} |