Index: third_party/WebKit/Source/modules/background_sync/SyncManager.cpp |
diff --git a/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp b/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp |
index ff4102cb09c21ef664ccd76d803cf55b51ba5f23..1c386039294cd0f71c270a94e348243a92c40925 100644 |
--- a/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp |
+++ b/third_party/WebKit/Source/modules/background_sync/SyncManager.cpp |
@@ -61,8 +61,7 @@ ScriptPromise SyncManager::registerFunction(ScriptState* scriptState, ExecutionC |
WebSyncRegistration::PeriodicityOneShot, |
tag, |
0 /* minPeriod */, |
- WebSyncRegistration::NetworkStateOnline /* networkState */, |
- WebSyncRegistration::PowerStateAuto /* powerState */ |
+ WebSyncRegistration::NetworkStateOnline /* networkState */ |
); |
backgroundSyncProvider()->registerBackgroundSync(webSyncRegistration, m_registration->webRegistration(), context->isServiceWorkerGlobalScope(), new SyncRegistrationCallbacks(resolver, m_registration)); |