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

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

Issue 2697123003: Use ExecutionContext instead of Document in PaymentRequest constructor. (Closed)
Patch Set: 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.h
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
index 57b41a5bb4268ab298b94a952dc2b11200445e73..2d85a4850f21ac2a7a6ab4ba36564b5bddd7200a 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h
@@ -45,11 +45,11 @@ class MODULES_EXPORT PaymentRequest final
WTF_MAKE_NONCOPYABLE(PaymentRequest);
public:
- static PaymentRequest* create(Document&,
+ static PaymentRequest* create(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
const PaymentDetails&,
ExceptionState&);
- static PaymentRequest* create(Document&,
+ static PaymentRequest* create(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
const PaymentDetails&,
const PaymentOptions&,
@@ -88,7 +88,7 @@ class MODULES_EXPORT PaymentRequest final
void onCompleteTimeoutForTesting();
private:
- PaymentRequest(Document&,
+ PaymentRequest(ExecutionContext*,
const HeapVector<PaymentMethodData>&,
const PaymentDetails&,
const PaymentOptions&,

Powered by Google App Engine
This is Rietveld 408576698