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 197cf17df63c40b97b0962d0f0a06167cfeec01c..b1a56c6c5d7e2ed7e9f030af622a7acd3854fc8f 100644 |
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc |
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc |
@@ -162,7 +162,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(); |