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

Unified Diff: chrome/browser/ui/webui/policy_material_design_ui.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months 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
« no previous file with comments | « chrome/browser/ui/webui/plugins/plugins_ui.h ('k') | chrome/browser/ui/webui/policy_ui_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 081b0a28cc53288af7b77c3a6423b9e7261daac4..1703d50fa9fd239eade500158e1b83ec9c30f29b 100644
--- a/chrome/browser/ui/webui/policy_material_design_ui.cc
+++ b/chrome/browser/ui/webui/policy_material_design_ui.cc
@@ -72,7 +72,7 @@ PolicyMaterialDesignUIHandler::~PolicyMaterialDesignUIHandler() {
void PolicyMaterialDesignUIHandler::AddPolicyName(
const std::string& name, base::DictionaryValue* names) const {
- scoped_ptr<base::ListValue> list(new base::ListValue());
+ std::unique_ptr<base::ListValue> list(new base::ListValue());
const policy::RiskTag* tags = policy::GetChromePolicyDetails(name)->risk_tags;
for (size_t i = 0; i < policy::kMaxRiskTagCount; ++i) {
if (tags[i] != policy::RISK_TAG_NONE)
« no previous file with comments | « chrome/browser/ui/webui/plugins/plugins_ui.h ('k') | chrome/browser/ui/webui/policy_ui_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698