| 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 81ed0b6d73712946bca0df474542c94d432e931b..521ad44af44801fcde91145a3155585b9d41b6a8 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();
|
|
|