Index: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
diff --git a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
index 02a8258a0d7a3b6f0902f46e3a67cacb19b15791..6c8281bf5a6a6a6126f09f6ad9bdf3e6201e4e8e 100644 |
--- a/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
+++ b/third_party/WebKit/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp |
@@ -62,7 +62,14 @@ void ServiceWorkerGlobalScopeClientImpl::GetClients( |
void ServiceWorkerGlobalScopeClientImpl::OpenWindow( |
const WebURL& url, |
std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) { |
- client_.OpenWindow(url, std::move(callbacks)); |
+ client_.OpenWindow(WebURL(), url, std::move(callbacks)); |
+} |
+ |
+void ServiceWorkerGlobalScopeClientImpl::OpenWindowForPaymentHandle( |
+ const WebURL& redirect_url, |
+ const WebURL& url_to_open, |
+ std::unique_ptr<WebServiceWorkerClientCallbacks> callbacks) { |
+ client_.OpenWindow(redirect_url, url_to_open, std::move(callbacks)); |
} |
void ServiceWorkerGlobalScopeClientImpl::SetCachedMetadata(const WebURL& url, |