Index: third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
index fc07e3fb3991d7db200726ecbaea90b82262b947..d0494f2a68399b3e430e349227c018ae4b888d9b 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp |
@@ -1061,8 +1061,8 @@ void PaymentRequest::OnCanMakePayment(CanMakePaymentQueryResult result) { |
can_make_payment_resolver_->Resolve(false); |
break; |
case CanMakePaymentQueryResult::QUERY_QUOTA_EXCEEDED: |
- can_make_payment_resolver_->Reject( |
- DOMException::Create(kQuotaExceededError, "Query quota exceeded")); |
+ can_make_payment_resolver_->Reject(DOMException::Create( |
+ kNotAllowedError, "Not allowed to check whether can make payment")); |
break; |
} |