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

Unified Diff: chrome/browser/ui/app_list/app_list_prefs.cc

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (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/ui/app_list/app_list_prefs.cc
diff --git a/chrome/browser/ui/app_list/app_list_prefs.cc b/chrome/browser/ui/app_list/app_list_prefs.cc
index e4c37dead6d60eddc3ec970a26213057bbc5f399..ca28bfaedf28e3e1a391cf64b0b1bbd699ad89f6 100644
--- a/chrome/browser/ui/app_list/app_list_prefs.cc
+++ b/chrome/browser/ui/app_list/app_list_prefs.cc
@@ -37,7 +37,7 @@ AppListPrefs::AppListInfo::CreateDictFromAppListInfo() const {
item_dict->SetString(kModelItemParentId, parent_id);
item_dict->SetString(kModelItemName, name);
item_dict->SetInteger(kModelItemType, item_type);
- return item_dict.Pass();
+ return item_dict;
}
// static
@@ -58,7 +58,7 @@ AppListPrefs::AppListInfo::CreateAppListInfoFromDict(
info->position = syncer::StringOrdinal(item_ordinal_string);
info->item_type = static_cast<ItemType>(item_type_int);
- return info.Pass();
+ return info;
}
// AppListPrefs
« no previous file with comments | « chrome/browser/ui/app_list/app_list_model_builder.cc ('k') | chrome/browser/ui/app_list/app_list_prefs_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698