Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: Source/modules/background_sync/PeriodicSyncRegistration.cpp

Issue 1287343004: Revert of Call dispatcher's releaseRegistration when done with registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/background_sync/SyncRegistration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/PeriodicSyncRegistration.cpp
diff --git a/Source/modules/background_sync/PeriodicSyncRegistration.cpp b/Source/modules/background_sync/PeriodicSyncRegistration.cpp
index 5a3d122d19c05871c18f8d308f5e749ea42a09db..bd9865caa70bf22a4e685cd3a7526811c178b99a 100644
--- a/Source/modules/background_sync/PeriodicSyncRegistration.cpp
+++ b/Source/modules/background_sync/PeriodicSyncRegistration.cpp
@@ -66,9 +66,6 @@
PeriodicSyncRegistration::~PeriodicSyncRegistration()
{
- WebSyncProvider* webSyncProvider = Platform::current()->backgroundSyncProvider();
- ASSERT(webSyncProvider);
- webSyncProvider->releaseRegistration(m_id);
}
ScriptPromise PeriodicSyncRegistration::unregister(ScriptState* scriptState)
« no previous file with comments | « no previous file | Source/modules/background_sync/SyncRegistration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698