Index: content/browser/service_worker/service_worker_browsertest.cc |
diff --git a/content/browser/service_worker/service_worker_browsertest.cc b/content/browser/service_worker/service_worker_browsertest.cc |
index ee5ecb3ad9bb9290af573807bc3ddbbf7adcb78d..fae510d160824629013c23a96dad89b770795cdc 100644 |
--- a/content/browser/service_worker/service_worker_browsertest.cc |
+++ b/content/browser/service_worker/service_worker_browsertest.cc |
@@ -529,11 +529,12 @@ class ServiceWorkerVersionBrowserTest : public ServiceWorkerBrowserTest { |
void AddControlleeOnIOThread() { |
ASSERT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
std::unique_ptr<ServiceWorkerProviderHost> host( |
- new ServiceWorkerProviderHost(33 /* dummy render process id */, |
- MSG_ROUTING_NONE /* render_frame_id */, |
- 1 /* dummy provider_id */, |
- SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
- wrapper()->context()->AsWeakPtr(), NULL)); |
+ new ServiceWorkerProviderHost( |
+ 33 /* dummy render process id */, |
+ MSG_ROUTING_NONE /* render_frame_id */, 1 /* dummy provider_id */, |
+ SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ ServiceWorkerProviderHost::FrameSecurityLevel::SECURE, |
+ wrapper()->context()->AsWeakPtr(), NULL)); |
host->SetDocumentUrl( |
embedded_test_server()->GetURL("/service_worker/host")); |
host->AssociateRegistration(registration_.get(), |