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 60c6b2bad01ea5e7e20668f906df300a31826a29..21cdf65261cce967fb725dd0934d0c18580c3e7f 100644 |
--- a/content/browser/service_worker/service_worker_browsertest.cc |
+++ b/content/browser/service_worker/service_worker_browsertest.cc |
@@ -528,11 +528,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(), |