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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentRequest.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/PaymentRequest.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
index 943b325dde16a05e7514fb3e70429ce84f677553..2a920ede557fe187c3583bf68b1732de30c61456 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.idl
@@ -8,7 +8,7 @@
[
RuntimeEnabled=PaymentRequest,
Constructor(sequence<PaymentMethodData> methodData, PaymentDetails details, optional PaymentOptions options),
- ConstructorCallWith=Document,
+ ConstructorCallWith=ScriptState,
RaisesException=Constructor,
ActiveScriptWrappable,
DependentLifetime,

Powered by Google App Engine
This is Rietveld 408576698