| Index: third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| index da5b1d4bed24c311c6dffa6c1422138a1213ea64..943b325dde16a05e7514fb3e70429ce84f677553 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
|
| @@ -15,6 +15,7 @@
|
| ] interface PaymentRequest : EventTarget {
|
| [CallWith=ScriptState] Promise<PaymentResponse> show();
|
| [CallWith=ScriptState] Promise<void> abort();
|
| + [CallWith=ScriptState, RuntimeEnabled=CanMakePayment] Promise<boolean> canMakePayment();
|
|
|
| [ImplementedAs=getShippingAddress] readonly attribute PaymentAddress? shippingAddress;
|
| readonly attribute DOMString? shippingOption;
|
| @@ -22,7 +23,4 @@
|
|
|
| attribute EventHandler onshippingaddresschange;
|
| attribute EventHandler onshippingoptionchange;
|
| -
|
| - // https://github.com/w3c/browser-payment-api/issues/310
|
| - [CallWith=ScriptState, RuntimeEnabled=CanMakePayment] Promise<boolean> canMakePayment();
|
| };
|
|
|