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

Unified Diff: extensions/browser/extension_prefs.cc

Issue 2740143002: Change base::Value::ListStorage to std::vector<base::Value> (Closed)
Patch Set: Comment Updates Created 3 years, 9 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/browser/extension_prefs.cc
diff --git a/extensions/browser/extension_prefs.cc b/extensions/browser/extension_prefs.cc
index 8d080434c5d1a93237c26eeee185c72c11ccc19d..544a4be4a5aa0a91d4cb0da86c50985208cf790a 100644
--- a/extensions/browser/extension_prefs.cc
+++ b/extensions/browser/extension_prefs.cc
@@ -1802,7 +1802,7 @@ bool ExtensionPrefs::GetUserExtensionPrefIntoContainer(
std::string extension_id;
for (base::ListValue::const_iterator value_it = user_pref_as_list->begin();
value_it != user_pref_as_list->end(); ++value_it) {
- if (!(*value_it)->GetAsString(&extension_id)) {
+ if (!value_it->GetAsString(&extension_id)) {
NOTREACHED();
continue;
}

Powered by Google App Engine
This is Rietveld 408576698