Index: components/autofill/core/browser/payments/payments_client.cc |
diff --git a/components/autofill/core/browser/payments/payments_client.cc b/components/autofill/core/browser/payments/payments_client.cc |
index 32b2cca0857d6b3c8f855f0535e02aeed6a44f27..5fbeca35005b406376d22b2bda3af529d332a145 100644 |
--- a/components/autofill/core/browser/payments/payments_client.cc |
+++ b/components/autofill/core/browser/payments/payments_client.cc |
@@ -458,7 +458,7 @@ void PaymentsClient::OnURLFetchComplete(const net::URLFetcher* source) { |
std::string error_code; |
std::unique_ptr<base::Value> message_value = base::JSONReader::Read(data); |
if (message_value.get() && |
- message_value->IsType(base::Value::TYPE_DICTIONARY)) { |
+ message_value->IsType(base::Value::Type::DICTIONARY)) { |
response_dict.reset( |
static_cast<base::DictionaryValue*>(message_value.release())); |
response_dict->GetString("error.code", &error_code); |