Index: content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_context_request_handler_unittest.cc b/content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
index 92f589e6d36b2e101879fbaf6c140bbb937498cf..347e0be1b1cc1796ee59acd88db63e1a9d87eb03 100644 |
--- a/content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
+++ b/content/browser/service_worker/service_worker_context_request_handler_unittest.cc |
@@ -41,9 +41,9 @@ class ServiceWorkerContextRequestHandlerTest : public testing::Test { |
scope_ = GURL("http://host/scope/"); |
script_url_ = GURL("http://host/script.js"); |
registration_ = new ServiceWorkerRegistration( |
- scope_, script_url_, 1L, context()->AsWeakPtr()); |
+ scope_, 1L, context()->AsWeakPtr()); |
version_ = new ServiceWorkerVersion( |
- registration_.get(), 1L, context()->AsWeakPtr()); |
+ registration_.get(), script_url_, 1L, context()->AsWeakPtr()); |
// An empty host. |
scoped_ptr<ServiceWorkerProviderHost> host(new ServiceWorkerProviderHost( |