Index: content/browser/background_sync/background_sync_manager_unittest.cc |
diff --git a/content/browser/background_sync/background_sync_manager_unittest.cc b/content/browser/background_sync/background_sync_manager_unittest.cc |
index 429e8bb32adf2dd07ff10e94903cf428bdc72b90..60c81b00aca91c91c88bb471c9fa63d67a04be70 100644 |
--- a/content/browser/background_sync/background_sync_manager_unittest.cc |
+++ b/content/browser/background_sync/background_sync_manager_unittest.cc |
@@ -158,12 +158,14 @@ class BackgroundSyncManagerTest : public testing::Test { |
bool called_1 = false; |
bool called_2 = false; |
helper_->context()->RegisterServiceWorker( |
- GURL(kPattern1), GURL(kScript1), NULL, |
+ GURL(kScript1), ServiceWorkerRegistrationOptions(GURL(kPattern1)), |
+ nullptr, |
base::Bind(&RegisterServiceWorkerCallback, &called_1, |
&sw_registration_id_1_)); |
helper_->context()->RegisterServiceWorker( |
- GURL(kPattern2), GURL(kScript2), NULL, |
+ GURL(kScript2), ServiceWorkerRegistrationOptions(GURL(kPattern2)), |
+ nullptr, |
base::Bind(&RegisterServiceWorkerCallback, &called_2, |
&sw_registration_id_2_)); |
base::RunLoop().RunUntilIdle(); |