Index: content/browser/background_sync/background_sync_service_impl_unittest.cc |
diff --git a/content/browser/background_sync/background_sync_service_impl_unittest.cc b/content/browser/background_sync/background_sync_service_impl_unittest.cc |
index 72a64581ae339e33fe9f4b82ee839b788b6a7e8f..75a34791ba4e292616cfa94f5914a151ade6c421 100644 |
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc |
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc |
@@ -163,7 +163,8 @@ class BackgroundSyncServiceImplTest : public testing::Test { |
void CreateServiceWorkerRegistration() { |
bool called = false; |
embedded_worker_helper_->context()->RegisterServiceWorker( |
- GURL(kServiceWorkerPattern), GURL(kServiceWorkerScript), NULL, |
+ GURL(kServiceWorkerScript), |
+ ServiceWorkerRegistrationOptions(GURL(kServiceWorkerPattern)), nullptr, |
base::Bind(&RegisterServiceWorkerCallback, &called, |
&sw_registration_id_)); |
base::RunLoop().RunUntilIdle(); |