| Index: Source/modules/background_sync/SyncManager.cpp
|
| diff --git a/Source/modules/background_sync/SyncManager.cpp b/Source/modules/background_sync/SyncManager.cpp
|
| index bac471a60adb2e57b9dd66221c145251457bae3c..55142cb791b095c45bce096d2cb0fb563dbc727d 100644
|
| --- a/Source/modules/background_sync/SyncManager.cpp
|
| +++ b/Source/modules/background_sync/SyncManager.cpp
|
| @@ -53,7 +53,7 @@ ScriptPromise SyncManager::registerFunction(ScriptState* scriptState, const Sync
|
| WebSyncRegistration::PeriodicityOneShot,
|
| options.tag(),
|
| 0 /* minPeriod */,
|
| - WebSyncRegistration::NetworkStateAny /* networkState */,
|
| + WebSyncRegistration::NetworkStateOnline /* networkState */,
|
| WebSyncRegistration::PowerStateAuto /* powerState */
|
| );
|
| backgroundSyncProvider()->registerBackgroundSync(webSyncRegistration, m_registration->webRegistration(), new SyncRegistrationCallbacks(resolver, m_registration));
|
|
|