Index: content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc b/content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc |
index cbce78a517871f39bd647490a6b3f6ed9d2be0ca..b9d2b202562626d8ef439bcd7bce0c642dd010dc 100644 |
--- a/content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc |
+++ b/content/browser/service_worker/service_worker_controllee_request_handler_unittest.cc |
@@ -42,9 +42,9 @@ class ServiceWorkerControlleeRequestHandlerTest : 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( |