Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
index 5c187d33f8d60afbb03be3630276221688ff235d..43bb674ff7f95539b7ce1764bc62427d65b4f9c9 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
@@ -54,9 +54,9 @@ |
#include "modules/notifications/Notification.h" |
#include "modules/notifications/NotificationEvent.h" |
#include "modules/notifications/NotificationEventInit.h" |
-#include "modules/payments/PaymentAppRequest.h" |
-#include "modules/payments/PaymentAppRequestConversion.h" |
#include "modules/payments/PaymentRequestEvent.h" |
+#include "modules/payments/PaymentRequestEventDataConversion.h" |
+#include "modules/payments/PaymentRequestEventInit.h" |
#include "modules/payments/PaymentRequestRespondWithObserver.h" |
#include "modules/push_messaging/PushEvent.h" |
#include "modules/push_messaging/PushMessageData.h" |
@@ -453,7 +453,7 @@ void ServiceWorkerGlobalScopeProxy::DispatchSyncEvent( |
void ServiceWorkerGlobalScopeProxy::DispatchPaymentRequestEvent( |
int event_id, |
- const WebPaymentAppRequest& web_app_request) { |
+ const WebPaymentRequestEventData& web_app_request) { |
WaitUntilObserver* wait_until_observer = WaitUntilObserver::Create( |
WorkerGlobalScope(), WaitUntilObserver::kPaymentRequest, event_id); |
RespondWithObserver* respond_with_observer = |
@@ -462,7 +462,7 @@ void ServiceWorkerGlobalScopeProxy::DispatchPaymentRequestEvent( |
Event* event = PaymentRequestEvent::Create( |
EventTypeNames::paymentrequest, |
- PaymentAppRequestConversion::ToPaymentAppRequest( |
+ PaymentRequestEventDataConversion::ToPaymentRequestEventInit( |
WorkerGlobalScope()->ScriptController()->GetScriptState(), |
web_app_request), |
respond_with_observer, wait_until_observer); |