Index: content/child/service_worker/service_worker_dispatcher.cc |
diff --git a/content/child/service_worker/service_worker_dispatcher.cc b/content/child/service_worker/service_worker_dispatcher.cc |
index 8ba8a32900559f809bf2622a4ab1d602a179d188..a3694b2acc8e2715fce32551c492f53a2626487b 100644 |
--- a/content/child/service_worker/service_worker_dispatcher.cc |
+++ b/content/child/service_worker/service_worker_dispatcher.cc |
@@ -137,13 +137,15 @@ void ServiceWorkerDispatcher::RegisterServiceWorker( |
} |
int request_id = pending_registration_callbacks_.Add(std::move(callbacks)); |
+ ServiceWorkerRegistrationOptions options(pattern); |
+ |
TRACE_EVENT_ASYNC_BEGIN2("ServiceWorker", |
"ServiceWorkerDispatcher::RegisterServiceWorker", |
request_id, |
"Scope", pattern.spec(), |
"Script URL", script_url.spec()); |
thread_safe_sender_->Send(new ServiceWorkerHostMsg_RegisterServiceWorker( |
- CurrentWorkerId(), request_id, provider_id, pattern, script_url)); |
+ CurrentWorkerId(), request_id, provider_id, script_url, options)); |
} |
void ServiceWorkerDispatcher::UpdateServiceWorker( |