Index: content/renderer/service_worker/service_worker_context_client.cc |
diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc |
index f181da5c2618be053c1e67c56ed03a0157a5f21a..034819424761066986bdd175685b3de6ae6b26cb 100644 |
--- a/content/renderer/service_worker/service_worker_context_client.cc |
+++ b/content/renderer/service_worker/service_worker_context_client.cc |
@@ -632,12 +632,13 @@ void ServiceWorkerContextClient::GetClients( |
} |
void ServiceWorkerContextClient::OpenWindow( |
+ const blink::WebURL& redirect_url, |
const blink::WebURL& url, |
std::unique_ptr<blink::WebServiceWorkerClientCallbacks> callbacks) { |
DCHECK(callbacks); |
int request_id = context_->client_callbacks.Add(std::move(callbacks)); |
- Send(new ServiceWorkerHostMsg_OpenWindow( |
- GetRoutingID(), request_id, url)); |
+ Send(new ServiceWorkerHostMsg_OpenWindow(GetRoutingID(), request_id, |
+ redirect_url, url)); |
} |
void ServiceWorkerContextClient::SetCachedMetadata(const blink::WebURL& url, |