Index: third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp |
index 64fd43e683a1edf080daff51ca7d2119eeed9de3..940f5a4a2c2401c99f281af7fcaed50e75c544e4 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp |
@@ -5,6 +5,7 @@ |
#include "modules/payments/PaymentAppServiceWorkerRegistration.h" |
#include "bindings/core/v8/ScriptState.h" |
+#include "core/dom/Document.h" |
#include "modules/payments/PaymentAppManager.h" |
#include "modules/serviceworkers/ServiceWorkerRegistration.h" |
@@ -39,8 +40,8 @@ PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager( |
PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager( |
ScriptState* scriptState) { |
if (!m_paymentAppManager) { |
- m_paymentAppManager = |
- PaymentAppManager::create(scriptState, m_registration); |
+ m_paymentAppManager = PaymentAppManager::create( |
+ scriptState->getExecutionContext(), m_registration); |
} |
return m_paymentAppManager.get(); |
} |