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

Unified Diff: components/flags_ui/pref_service_flags_storage.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: components/flags_ui/pref_service_flags_storage.cc
diff --git a/components/flags_ui/pref_service_flags_storage.cc b/components/flags_ui/pref_service_flags_storage.cc
index 2153c1bf6be86fec1366aada2682dd99abbe25be..3c6ddc4dd778abad2c0f0c7e889ec272ce799c0c 100644
--- a/components/flags_ui/pref_service_flags_storage.cc
+++ b/components/flags_ui/pref_service_flags_storage.cc
@@ -26,7 +26,7 @@
for (base::ListValue::const_iterator it = enabled_experiments->begin();
it != enabled_experiments->end(); ++it) {
std::string experiment_name;
- if (!it->GetAsString(&experiment_name)) {
+ if (!(*it)->GetAsString(&experiment_name)) {
LOG(WARNING) << "Invalid entry in " << prefs::kEnabledLabsExperiments;
continue;
}

Powered by Google App Engine
This is Rietveld 408576698