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

Unified Diff: chrome/browser/extensions/api/content_settings/content_settings_store.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/extensions/api/content_settings/content_settings_store.cc
diff --git a/chrome/browser/extensions/api/content_settings/content_settings_store.cc b/chrome/browser/extensions/api/content_settings/content_settings_store.cc
index 6f2a5797051cf8651c9e0d1898dc991f85ea9dff..8bed231ad3a3496bb6daa3278711266b4f7f1aa1 100644
--- a/chrome/browser/extensions/api/content_settings/content_settings_store.cc
+++ b/chrome/browser/extensions/api/content_settings/content_settings_store.cc
@@ -294,8 +294,8 @@
const base::ListValue* list,
ExtensionPrefsScope scope) {
for (const auto& value : *list) {
- const base::DictionaryValue* dict = nullptr;
- if (!value.GetAsDictionary(&dict)) {
+ base::DictionaryValue* dict;
+ if (!value->GetAsDictionary(&dict)) {
NOTREACHED();
continue;
}
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/api/declarative_content/content_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698