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

Unified Diff: extensions/browser/extension_prefs.cc

Issue 2816513002: Revert 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: extensions/browser/extension_prefs.cc
diff --git a/extensions/browser/extension_prefs.cc b/extensions/browser/extension_prefs.cc
index 83246170e3f07ee226d9db174e559f465d206d69..01ca8d3cc7b31a500a8b55e48653a6d65ec7f5cf 100644
--- a/extensions/browser/extension_prefs.cc
+++ b/extensions/browser/extension_prefs.cc
@@ -1803,7 +1803,7 @@
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;
}
« no previous file with comments | « extensions/browser/api/system_network/system_network_api_unittest.cc ('k') | extensions/browser/verified_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698