Index: content/browser/service_worker/service_worker_version.cc |
diff --git a/content/browser/service_worker/service_worker_version.cc b/content/browser/service_worker/service_worker_version.cc |
index e72bc88a66c8fa4c0c0fc0428b0c684a9fb9bc43..862e5b554ea83576b576da704fa22eb78855c4f4 100644 |
--- a/content/browser/service_worker/service_worker_version.cc |
+++ b/content/browser/service_worker/service_worker_version.cc |
@@ -1044,7 +1044,9 @@ void ServiceWorkerVersion::CountFeature(uint32_t feature) { |
provider_host_by_uuid.second->CountFeature(feature); |
} |
-void ServiceWorkerVersion::OnOpenWindow(int request_id, GURL url) { |
+void ServiceWorkerVersion::OnOpenWindow(int request_id, |
+ GURL redirect_url, |
+ GURL url) { |
// Just abort if we are shutting down. |
if (!context_) |
return; |
@@ -1075,7 +1077,7 @@ void ServiceWorkerVersion::OnOpenWindow(int request_id, GURL url) { |
} |
service_worker_client_utils::OpenWindow( |
- url, script_url_, embedded_worker_->process_id(), context_, |
+ redirect_url, url, script_url_, embedded_worker_->process_id(), context_, |
base::Bind(&ServiceWorkerVersion::OnOpenWindowFinished, |
weak_factory_.GetWeakPtr(), request_id)); |
} |