Index: content/browser/service_worker/service_worker_provider_host_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_provider_host_unittest.cc b/content/browser/service_worker/service_worker_provider_host_unittest.cc |
index cd478f0af690ac1c068216af3d84c5752f8cf5ad..7a7ff43ddc80ea125cd77b4f879eebda71b38c23 100644 |
--- a/content/browser/service_worker/service_worker_provider_host_unittest.cc |
+++ b/content/browser/service_worker/service_worker_provider_host_unittest.cc |
@@ -35,16 +35,16 @@ class ServiceWorkerProviderHostTest : public testing::Test { |
// Prepare provider hosts (for the same process). |
std::unique_ptr<ServiceWorkerProviderHost> host1( |
- new ServiceWorkerProviderHost(helper_->mock_render_process_id(), |
- MSG_ROUTING_NONE, 1 /* provider_id */, |
- SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
- context_->AsWeakPtr(), NULL)); |
+ new ServiceWorkerProviderHost( |
+ helper_->mock_render_process_id(), MSG_ROUTING_NONE, |
+ 1 /* provider_id */, SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ true /* is_parent_frame_secure */, context_->AsWeakPtr(), NULL)); |
host1->SetDocumentUrl(GURL("http://www.example.com/example1.html")); |
std::unique_ptr<ServiceWorkerProviderHost> host2( |
- new ServiceWorkerProviderHost(helper_->mock_render_process_id(), |
- MSG_ROUTING_NONE, 2 /* provider_id */, |
- SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
- context_->AsWeakPtr(), NULL)); |
+ new ServiceWorkerProviderHost( |
+ helper_->mock_render_process_id(), MSG_ROUTING_NONE, |
+ 2 /* provider_id */, SERVICE_WORKER_PROVIDER_FOR_WINDOW, |
+ true /* is_parent_frame_secure */, context_->AsWeakPtr(), NULL)); |
host2->SetDocumentUrl(GURL("http://www.example.com/example2.html")); |
provider_host1_ = host1->AsWeakPtr(); |
provider_host2_ = host2->AsWeakPtr(); |