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

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

Issue 2958333002: [Payments] Implement web payment app manifest (Closed)
Patch Set: fix tests and add comments Created 3 years, 6 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 4be03f6f5d7b24c02f9c0a641b85473399fe59c6..857525b8c1b73432733c57d1daf6e0e75f887f38 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentManager.cpp
+++ b/third_party/WebKit/Source/modules/payments/PaymentManager.cpp
@@ -40,7 +40,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