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

Unified Diff: chrome/browser/supervised_user/supervised_user_site_list.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: chrome/browser/supervised_user/supervised_user_site_list.cc
diff --git a/chrome/browser/supervised_user/supervised_user_site_list.cc b/chrome/browser/supervised_user/supervised_user_site_list.cc
index 8b9253b26ec009f5991b94c4d2a557e31c4b5b6e..5d6c0627272d6a8686049b2eb856dbda3e7580ce 100644
--- a/chrome/browser/supervised_user/supervised_user_site_list.cc
+++ b/chrome/browser/supervised_user/supervised_user_site_list.cc
@@ -48,7 +48,7 @@
if (list_values) {
for (const auto& entry : *list_values) {
std::string entry_string;
- if (!entry.GetAsString(&entry_string)) {
+ if (!entry->GetAsString(&entry_string)) {
LOG(ERROR) << "Invalid whitelist entry";
continue;
}

Powered by Google App Engine
This is Rietveld 408576698