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

Unified Diff: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc

Issue 2809023003: Reland of Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Created 3 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
Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
index 0824588448779ad4f6334a9c68286e8bd9578b58..aa75b6e220a0735193b12517e964ab1b85d1d646 100644
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
@@ -324,7 +324,7 @@ void PinnedLauncherAppsPolicyHandler::ApplyPolicySettings(
for (base::ListValue::const_iterator entry(policy_list->begin());
entry != policy_list->end(); ++entry) {
std::string id;
- if ((*entry)->GetAsString(&id)) {
+ if (entry->GetAsString(&id)) {
auto app_dict = base::MakeUnique<base::DictionaryValue>();
app_dict->SetString(ash::launcher::kPinnedAppsPrefAppIDPath, id);
pinned_apps_list->Append(std::move(app_dict));

Powered by Google App Engine
This is Rietveld 408576698