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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAppManager.h

Issue 2541663003: Remove [ConstructorCallWith=ScriptState] from Payments (Closed)
Patch Set: temp Created 4 years 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/PaymentAppManager.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppManager.h b/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
index 58f12ae53206203168dfe0bdc14fe10d8f74c328..d311af46b94cbb4c36323331fe9db7d616e2247b 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppManager.h
@@ -14,6 +14,7 @@
namespace blink {
+class ExecutionContext;
class PaymentAppManifest;
class ScriptPromiseResolver;
class ScriptState;
@@ -28,7 +29,8 @@ class MODULES_EXPORT PaymentAppManager final
WTF_MAKE_NONCOPYABLE(PaymentAppManager);
public:
- static PaymentAppManager* create(ScriptState*, ServiceWorkerRegistration*);
+ static PaymentAppManager* create(ExecutionContext*,
+ ServiceWorkerRegistration*);
void contextDestroyed() override;
@@ -38,7 +40,7 @@ class MODULES_EXPORT PaymentAppManager final
DECLARE_TRACE();
private:
- PaymentAppManager(ScriptState*, ServiceWorkerRegistration*);
+ PaymentAppManager(ExecutionContext*, ServiceWorkerRegistration*);
void onSetManifest(ScriptPromiseResolver*,
payments::mojom::blink::PaymentAppManifestError);

Powered by Google App Engine
This is Rietveld 408576698