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

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp

Issue 2553163003: Remove ContextLifecycleObserver from PaymentAppManager (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 940f5a4a2c2401c99f281af7fcaed50e75c544e4..292b7117034f9a38801f846f9015b36629f79e1b 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppServiceWorkerRegistration.cpp
@@ -40,8 +40,7 @@ PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager(
PaymentAppManager* PaymentAppServiceWorkerRegistration::paymentAppManager(
ScriptState* scriptState) {
if (!m_paymentAppManager) {
- m_paymentAppManager = PaymentAppManager::create(
- scriptState->getExecutionContext(), m_registration);
+ m_paymentAppManager = PaymentAppManager::create(m_registration);
}
return m_paymentAppManager.get();
}
« no previous file with comments | « third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698