Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl

Issue 2697123003: Use ExecutionContext instead of Document in PaymentRequest constructor. (Closed)
Patch Set: Use ScriptState Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl
index 3df7b874b152a3dbfcdf6826fe1da8d975abb93a..9b5c78483a9d0cd13772c5599b95aff0e8407ac1 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.idl
@@ -7,7 +7,7 @@
[
RuntimeEnabled=PaymentRequest,
Constructor(DOMString type, optional PaymentRequestUpdateEventInit eventInitDict),
- ConstructorCallWith=ExecutionContext
+ ConstructorCallWith=ScriptState
please use gerrit instead 2017/02/19 18:53:02 Docs say that CallWith=ExecutionContext is depreca
Marijn Kruisselbrink 2017/02/21 19:08:56 Yep, seems that way. Although I'm very confused no
] interface PaymentRequestUpdateEvent : Event {
[CallWith=ScriptState,RaisesException] void updateWith(Promise<PaymentDetails> d);
};

Powered by Google App Engine
This is Rietveld 408576698