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 292b7117034f9a38801f846f9015b36629f79e1b..476f80a71b12de1216e8a7c7488a39aaa8b734c6 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp |
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp |
@@ -6,7 +6,7 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "core/dom/Document.h" |
-#include "modules/payments/PaymentAppManager.h" |
+#include "modules/payments/PaymentManager.h" |
#include "modules/serviceworkers/ServiceWorkerRegistration.h" |
namespace blink { |
@@ -30,24 +30,24 @@ PaymentAppServiceWorkerRegistration& PaymentAppServiceWorkerRegistration::from( |
} |
// static |
-PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager( |
+PaymentManager* PaymentAppServiceWorkerRegistration::paymentManager( |
ScriptState* scriptState, |
ServiceWorkerRegistration& registration) { |
return PaymentAppServiceWorkerRegistration::from(registration) |
- .paymentAppManager(scriptState); |
+ .paymentManager(scriptState); |
} |
-PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager( |
+PaymentManager* PaymentAppServiceWorkerRegistration::paymentManager( |
ScriptState* scriptState) { |
- if (!m_paymentAppManager) { |
- m_paymentAppManager = PaymentAppManager::create(m_registration); |
+ if (!m_paymentManager) { |
+ m_paymentManager = PaymentManager::create(m_registration); |
} |
- return m_paymentAppManager.get(); |
+ return m_paymentManager.get(); |
} |
DEFINE_TRACE(PaymentAppServiceWorkerRegistration) { |
visitor->trace(m_registration); |
- visitor->trace(m_paymentAppManager); |
+ visitor->trace(m_paymentManager); |
Supplement<ServiceWorkerRegistration>::trace(visitor); |
} |