Index: content/child/service_worker/service_worker_provider_context.cc |
diff --git a/content/child/service_worker/service_worker_provider_context.cc b/content/child/service_worker/service_worker_provider_context.cc |
index b0c0e9dbec0b9b1627f541114b0d8332deb683b1..bdb318db1bd3b94a1a370277ec1009e7a78cbaae 100644 |
--- a/content/child/service_worker/service_worker_provider_context.cc |
+++ b/content/child/service_worker/service_worker_provider_context.cc |
@@ -187,9 +187,11 @@ void ServiceWorkerProviderContext::OnDisassociateRegistration() { |
} |
void ServiceWorkerProviderContext::OnSetControllerServiceWorker( |
- std::unique_ptr<ServiceWorkerHandleReference> controller) { |
+ std::unique_ptr<ServiceWorkerHandleReference> controller, |
+ const std::set<uint32_t>& used_features) { |
DCHECK(main_thread_task_runner_->RunsTasksOnCurrentThread()); |
delegate_->SetController(std::move(controller)); |
+ used_features_ = used_features; |
} |
void ServiceWorkerProviderContext::GetAssociatedRegistration( |