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

Unified Diff: extensions/common/manifest_handlers/kiosk_mode_info.cc

Issue 2000803003: Use std::unique_ptr for base::DictionaryValue and base::ListValue's internal store. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix various builds. Created 4 years, 7 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: extensions/common/manifest_handlers/kiosk_mode_info.cc
diff --git a/extensions/common/manifest_handlers/kiosk_mode_info.cc b/extensions/common/manifest_handlers/kiosk_mode_info.cc
index 2dd0f9b1844e8f022431338e1a3e6f01eab52033..8f7440cada1b41bca7762d590b993b71700342a1 100644
--- a/extensions/common/manifest_handlers/kiosk_mode_info.cc
+++ b/extensions/common/manifest_handlers/kiosk_mode_info.cc
@@ -114,7 +114,7 @@ bool KioskModeHandler::Parse(Extension* extension, base::string16* error) {
return false;
}
- for (const base::Value* value : *list) {
+ for (const auto& value : *list) {
std::unique_ptr<KioskSecondaryAppsType> app =
KioskSecondaryAppsType::FromValue(*value, error);
if (!app) {

Powered by Google App Engine
This is Rietveld 408576698