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

Unified Diff: chrome/browser/ui/webui/policy_material_design_ui.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/webui/policy_material_design_ui.cc
diff --git a/chrome/browser/ui/webui/policy_material_design_ui.cc b/chrome/browser/ui/webui/policy_material_design_ui.cc
index 39376ac9bd99a66ca1919e2f170a8df3edc56e22..081b0a28cc53288af7b77c3a6423b9e7261daac4 100644
--- a/chrome/browser/ui/webui/policy_material_design_ui.cc
+++ b/chrome/browser/ui/webui/policy_material_design_ui.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/webui/policy_material_design_ui.h"
#include <stddef.h>
+#include <utility>
#include "base/macros.h"
#include "chrome/browser/profiles/profile.h"
@@ -77,7 +78,7 @@ void PolicyMaterialDesignUIHandler::AddPolicyName(
if (tags[i] != policy::RISK_TAG_NONE)
list->AppendString(kPolicyRiskTags[tags[i]].key);
}
- names->Set(name, list.Pass());
+ names->Set(name, std::move(list));
}
void PolicyMaterialDesignUIHandler::SendPolicyNames() const {
« no previous file with comments | « chrome/browser/ui/webui/options/supervised_user_import_handler.cc ('k') | chrome/browser/ui/webui/policy_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698