Index: content/browser/service_worker/link_header_support_unittest.cc |
diff --git a/content/browser/service_worker/link_header_support_unittest.cc b/content/browser/service_worker/link_header_support_unittest.cc |
index e77c68d9517028742911f3d5173f06adc8a90dbd..260afb1fff6a9c3ad8647540c61433e8aeb79f19 100644 |
--- a/content/browser/service_worker/link_header_support_unittest.cc |
+++ b/content/browser/service_worker/link_header_support_unittest.cc |
@@ -118,8 +118,9 @@ class LinkHeaderServiceWorkerTest : public ::testing::Test { |
context()->AddProviderHost(std::move(host)); |
scoped_refptr<ServiceWorkerRegistration> registration = |
- new ServiceWorkerRegistration(GURL("https://host/scope"), 1L, |
- context()->AsWeakPtr()); |
+ new ServiceWorkerRegistration( |
+ ServiceWorkerRegistrationOptions(GURL("https://host/scope")), 1L, |
+ context()->AsWeakPtr()); |
scoped_refptr<ServiceWorkerVersion> version = new ServiceWorkerVersion( |
registration.get(), GURL("https://host/script.js"), 1L, |
context()->AsWeakPtr()); |