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() { |