Index: third_party/WebKit/Source/modules/payments/PaymentAppManager.idl |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl b/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl |
index 5646a1b0ef031e4280802e77a773958ae4d2470d..c2a284040098244545c4956fdd7a15439f09b92b 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl |
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl |
@@ -6,7 +6,9 @@ |
[ |
RuntimeEnabled=PaymentApp, |
+ ConstructorCallWith=ScriptState, |
+ DependentLifetime, |
] interface PaymentAppManager { |
- Promise<void> setManifest(PaymentAppManifest manifest); |
- Promise<PaymentAppManifest> getManifest(); |
+ [CallWith=ScriptState] Promise<void> setManifest(PaymentAppManifest manifest); |
+ [CallWith=ScriptState] Promise<PaymentAppManifest> getManifest(); |
}; |