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

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

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: rename and comments Created 3 years, 5 months 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
Index: third_party/WebKit/Source/modules/payments/PaymentManager.cpp
diff --git a/third_party/WebKit/Source/modules/payments/PaymentManager.cpp b/third_party/WebKit/Source/modules/payments/PaymentManager.cpp
index 8b04369967aa4a03e48119088c63507ab6aab9a9..7f69bdef8c4c3a8f967e8ae78847a1d2fc577239 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentManager.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentManager.cpp
@@ -53,7 +53,8 @@ PaymentManager::PaymentManager(ServiceWorkerRegistration* registration)
manager_.set_connection_error_handler(ConvertToBaseCallback(WTF::Bind(
&PaymentManager::OnServiceConnectionError, WrapWeakPersistent(this))));
- manager_->Init(registration_->scope());
+ manager_->Init(registration_->GetExecutionContext()->Url().GetString(),
+ registration_->scope());
}
void PaymentManager::OnServiceConnectionError() {

Powered by Google App Engine
This is Rietveld 408576698