| Index: components/safe_browsing_db/safe_browsing_api_handler_util.cc
|
| diff --git a/components/safe_browsing_db/safe_browsing_api_handler_util.cc b/components/safe_browsing_db/safe_browsing_api_handler_util.cc
|
| index e4474effec1cd71754ff8cb5683f58148ca6888e..4e894f03ee506a87d742caf0fafdbd0b4ce94e1e 100644
|
| --- a/components/safe_browsing_db/safe_browsing_api_handler_util.cc
|
| +++ b/components/safe_browsing_db/safe_browsing_api_handler_util.cc
|
| @@ -157,7 +157,7 @@ UmaRemoteCallResult ParseJsonFromGMSCore(const std::string& metadata_str,
|
| // Pick out the "matches" list.
|
| std::unique_ptr<base::Value> value = base::JSONReader::Read(metadata_str);
|
| const base::ListValue* matches = nullptr;
|
| - if (!value.get() || !value->IsType(base::Value::TYPE_DICTIONARY) ||
|
| + if (!value.get() || !value->IsType(base::Value::Type::DICTIONARY) ||
|
| !(static_cast<base::DictionaryValue*>(value.get()))
|
| ->GetList(kJsonKeyMatches, &matches) ||
|
| !matches) {
|
|
|