Index: content/browser/service_worker/service_worker_storage_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_storage_unittest.cc b/content/browser/service_worker/service_worker_storage_unittest.cc |
index ac3281ea0a913b64057f3b3ae6750f0058125490..478ace71d8340575aad4b28ee9ceb9ec3acd31c3 100644 |
--- a/content/browser/service_worker/service_worker_storage_unittest.cc |
+++ b/content/browser/service_worker/service_worker_storage_unittest.cc |
@@ -1276,6 +1276,7 @@ TEST_F(ServiceWorkerResourceStorageTest, DeleteRegistration_ActiveVersion) { |
std::unique_ptr<ServiceWorkerProviderHost> host(new ServiceWorkerProviderHost( |
33 /* dummy render process id */, MSG_ROUTING_NONE, |
1 /* dummy provider_id */, SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ ServiceWorkerProviderHost::FrameSecurityLevel::SECURE, |
context()->AsWeakPtr(), NULL)); |
registration_->active_version()->AddControllee(host.get()); |
@@ -1327,6 +1328,7 @@ TEST_F(ServiceWorkerResourceStorageDiskTest, CleanupOnRestart) { |
std::unique_ptr<ServiceWorkerProviderHost> host(new ServiceWorkerProviderHost( |
33 /* dummy render process id */, MSG_ROUTING_NONE, |
1 /* dummy provider_id */, SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ ServiceWorkerProviderHost::FrameSecurityLevel::SECURE, |
context()->AsWeakPtr(), NULL)); |
registration_->active_version()->AddControllee(host.get()); |
@@ -1486,6 +1488,7 @@ TEST_F(ServiceWorkerResourceStorageTest, UpdateRegistration) { |
std::unique_ptr<ServiceWorkerProviderHost> host(new ServiceWorkerProviderHost( |
33 /* dummy render process id */, MSG_ROUTING_NONE, |
1 /* dummy provider_id */, SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ ServiceWorkerProviderHost::FrameSecurityLevel::SECURE, |
context()->AsWeakPtr(), NULL)); |
registration_->active_version()->AddControllee(host.get()); |