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

Unified Diff: sync/internal_api/sync_backup_manager_unittest.cc

Issue 1539843002: Convert Pass()→std::move() in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up 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_backup_manager_unittest.cc
diff --git a/sync/internal_api/sync_backup_manager_unittest.cc b/sync/internal_api/sync_backup_manager_unittest.cc
index 74132dd4846eb085cc2aef536fe3894fe2f391f7..4a986b1a17403c8ce2ce9e91a8b3d3197476701a 100644
--- a/sync/internal_api/sync_backup_manager_unittest.cc
+++ b/sync/internal_api/sync_backup_manager_unittest.cc
@@ -66,7 +66,7 @@ class SyncBackupManagerTest : public syncer::SyncManager::Observer,
args.database_location = temp_dir_.path();
args.event_handler = MakeWeakHandle(base::WeakPtr<JsEventHandler>());
args.service_url = GURL("https://example.com/");
- args.post_factory = scoped_ptr<HttpPostProviderFactory>().Pass();
+ args.post_factory = scoped_ptr<HttpPostProviderFactory>();
args.internal_components_factory.reset(new TestInternalComponentsFactory(
InternalComponentsFactory::Switches(), storage_option,
&storage_used_));
« no previous file with comments | « sync/internal_api/shared_model_type_processor.cc ('k') | sync/internal_api/sync_context_proxy_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698