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

Unified Diff: components/sync_driver/about_sync_util.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/about_sync_util.cc
diff --git a/components/sync_driver/about_sync_util.cc b/components/sync_driver/about_sync_util.cc
index 7842091ed881cdd3b5fd4daf16ff16b24d2e58a5..f9acf0f31330cc178ff9113100a00f53f0fa3227 100644
--- a/components/sync_driver/about_sync_util.cc
+++ b/components/sync_driver/about_sync_util.cc
@@ -357,7 +357,7 @@ scoped_ptr<base::DictionaryValue> ConstructAboutInformation(
if (!service) {
summary_string.SetValue("Sync service does not exist");
- return about_info.Pass();
+ return about_info;
}
syncer::SyncStatus full_status;
@@ -525,7 +525,7 @@ scoped_ptr<base::DictionaryValue> ConstructAboutInformation(
about_info->Set("type_status", service->GetTypeStatusMap());
- return about_info.Pass();
+ return about_info;
}
} // namespace sync_ui_util
« no previous file with comments | « components/sync_bookmarks/bookmark_change_processor.cc ('k') | components/sync_driver/device_info_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698