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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.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/ui/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index b72dfe7301f7415ada5ba89467cd48e087cdbfd1..757ec244d3c5e7d3ae691d216fd6a4e6f4ee0761 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -941,8 +941,8 @@
settings.exceptions.clear();
for (base::ListValue::const_iterator entry = exceptions.begin();
entry != exceptions.end(); ++entry) {
- const base::DictionaryValue* dict = nullptr;
- bool valid_dict = entry->GetAsDictionary(&dict);
+ base::DictionaryValue* dict = nullptr;
+ bool valid_dict = (*entry)->GetAsDictionary(&dict);
DCHECK(valid_dict);
std::string origin;

Powered by Google App Engine
This is Rietveld 408576698