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

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

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.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
index df585be6e2d2724fc60570d3850dd2f17ef0df1e..e62b7cf3dcf71d563239fd1c112ebec46dcef024 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequestUpdateEvent.h
@@ -16,7 +16,6 @@
namespace blink {
class ExceptionState;
-class ExecutionContext;
class PaymentUpdater;
class ScriptState;
@@ -27,7 +26,7 @@ class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event {
~PaymentRequestUpdateEvent() override;
static PaymentRequestUpdateEvent* create(
- ExecutionContext*,
+ ScriptState*,
const AtomicString& type,
const PaymentRequestUpdateEventInit& = PaymentRequestUpdateEventInit());
@@ -40,7 +39,7 @@ class MODULES_EXPORT PaymentRequestUpdateEvent final : public Event {
void onUpdateEventTimeoutForTesting();
private:
- PaymentRequestUpdateEvent(ExecutionContext*,
+ PaymentRequestUpdateEvent(ScriptState*,
const AtomicString& type,
const PaymentRequestUpdateEventInit&);

Powered by Google App Engine
This is Rietveld 408576698