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 1ef3d78eab5e81799ae19fd5b50a2a5e7b0444cf..6139644933ad03e3a5ed5ddfaf2f085c68095392 100644 |
--- a/content/browser/service_worker/service_worker_provider_host_unittest.cc |
+++ b/content/browser/service_worker/service_worker_provider_host_unittest.cc |
@@ -37,13 +37,11 @@ class ServiceWorkerProviderHostTest : public testing::Test { |
// Prepare provider hosts (for the same process). |
scoped_ptr<ServiceWorkerProviderHost> host1(new ServiceWorkerProviderHost( |
kRenderProcessId, MSG_ROUTING_NONE, 1 /* provider_id */, |
- SERVICE_WORKER_PROVIDER_FOR_CONTROLLEE, |
- context_->AsWeakPtr(), NULL)); |
+ SERVICE_WORKER_PROVIDER_FOR_WINDOW, context_->AsWeakPtr(), NULL)); |
host1->SetDocumentUrl(GURL("http://www.example.com/example1.html")); |
scoped_ptr<ServiceWorkerProviderHost> host2(new ServiceWorkerProviderHost( |
kRenderProcessId, MSG_ROUTING_NONE, 2 /* provider_id */, |
- SERVICE_WORKER_PROVIDER_FOR_CONTROLLEE, |
- context_->AsWeakPtr(), NULL)); |
+ SERVICE_WORKER_PROVIDER_FOR_WINDOW, context_->AsWeakPtr(), NULL)); |
host2->SetDocumentUrl(GURL("http://www.example.com/example2.html")); |
provider_host1_ = host1->AsWeakPtr(); |
provider_host2_ = host2->AsWeakPtr(); |