| 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 adb43668227ff10c419af8910fad82bdd39b5b7c..3a30c5134f1740c5051c9b30d5632b06f1b17688 100644
|
| --- a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
|
| +++ b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "modules/payments/PaymentAppServiceWorkerRegistration.h"
|
|
|
| +#include "bindings/core/v8/ScriptState.h"
|
| #include "modules/payments/PaymentAppManager.h"
|
| #include "modules/serviceworkers/ServiceWorkerRegistration.h"
|
|
|
| @@ -29,14 +30,15 @@ PaymentAppServiceWorkerRegistration& PaymentAppServiceWorkerRegistration::from(
|
|
|
| // static
|
| PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager(
|
| + ScriptState* scriptState,
|
| ServiceWorkerRegistration& registration) {
|
| return PaymentAppServiceWorkerRegistration::from(registration)
|
| - .paymentAppManager();
|
| + .paymentAppManager(scriptState);
|
| }
|
|
|
| -PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager() {
|
| +PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager(ScriptState* scriptState) {
|
| if (!m_paymentAppManager)
|
| - m_paymentAppManager = PaymentAppManager::create(m_registration);
|
| + m_paymentAppManager = PaymentAppManager::create(scriptState, m_registration);
|
| return m_paymentAppManager.get();
|
| }
|
|
|
|
|