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