Index: content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_context_request_handler_unittest.cc b/content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
index 22296bc730fe052a4541fb532154d37a812e71b3..dbc170cf418a2fd860cc850369e09520a3fc5d6d 100644 |
--- a/content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
+++ b/content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
@@ -49,11 +49,12 @@ class ServiceWorkerContextRequestHandlerTest : public testing::Test { |
// An empty host. |
std::unique_ptr<ServiceWorkerProviderHost> host( |
- new ServiceWorkerProviderHost(helper_->mock_render_process_id(), |
- MSG_ROUTING_NONE /* render_frame_id */, |
- 1 /* provider_id */, |
- SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
- context()->AsWeakPtr(), nullptr)); |
+ new ServiceWorkerProviderHost( |
+ helper_->mock_render_process_id(), |
+ MSG_ROUTING_NONE /* render_frame_id */, 1 /* provider_id */, |
+ SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ ServiceWorkerProviderHost::FrameSecurityLevel::SECURE, |
+ context()->AsWeakPtr(), nullptr)); |
provider_host_ = host->AsWeakPtr(); |
context()->AddProviderHost(std::move(host)); |