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 776db1c975835699336b98cbfd60084af026720d..3d6e2c6d1a079af459b8c7f1ddd380d6d31ec032 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 @@ TEST(ExtensionAPITest, TypesHaveNamespace) { |
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) { |