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 21f312f123a081dd1f68aef91c4822e49d81651e..c88eb173dad6bfd09939d1230adb1e044bfa1e39 100644 |
--- a/content/browser/background_sync/background_sync_service_impl_unittest.cc |
+++ b/content/browser/background_sync/background_sync_service_impl_unittest.cc |
@@ -211,15 +211,13 @@ class BackgroundSyncServiceImplTest : public testing::Test { |
void GetRegistrationOneShot( |
const mojo::String& tag, |
const BackgroundSyncService::RegisterCallback& callback) { |
- service_impl_->GetRegistration(BackgroundSyncPeriodicity::ONE_SHOT, tag, |
- sw_registration_id_, callback); |
+ service_impl_->GetRegistration(tag, sw_registration_id_, callback); |
base::RunLoop().RunUntilIdle(); |
} |
void GetRegistrationsOneShot( |
const BackgroundSyncService::GetRegistrationsCallback& callback) { |
- service_impl_->GetRegistrations(BackgroundSyncPeriodicity::ONE_SHOT, |
- sw_registration_id_, callback); |
+ service_impl_->GetRegistrations(sw_registration_id_, callback); |
base::RunLoop().RunUntilIdle(); |
} |