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

Unified Diff: chrome/common/extensions/api/common_extension_api_unittest.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/common/extensions/api/common_extension_api_unittest.cc
diff --git a/chrome/common/extensions/api/common_extension_api_unittest.cc b/chrome/common/extensions/api/common_extension_api_unittest.cc
index 3d6e2c6d1a079af459b8c7f1ddd380d6d31ec032..776db1c975835699336b98cbfd60084af026720d 100644
--- a/chrome/common/extensions/api/common_extension_api_unittest.cc
+++ b/chrome/common/extensions/api/common_extension_api_unittest.cc
@@ -802,7 +802,7 @@
const base::DictionaryValue* ret = nullptr;
for (const auto& val : *list) {
const base::DictionaryValue* dict = nullptr;
- if (!val.GetAsDictionary(&dict))
+ if (!val->GetAsDictionary(&dict))
continue;
std::string str;
if (dict->GetString(key, &str) && str == value) {
« no previous file with comments | « chrome/browser/ui/webui/site_settings_helper.cc ('k') | chrome/common/extensions/api/extension_action/action_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698