Index: Source/modules/background_sync/PeriodicSyncRegistration.h |
diff --git a/Source/modules/background_sync/PeriodicSyncRegistration.h b/Source/modules/background_sync/PeriodicSyncRegistration.h |
index 0024a79f0220092e3f8ec47be5ece0c0c03795b6..40014cd503a8e45f963432b6695f374117bdf661 100644 |
--- a/Source/modules/background_sync/PeriodicSyncRegistration.h |
+++ b/Source/modules/background_sync/PeriodicSyncRegistration.h |
@@ -20,8 +20,7 @@ struct WebSyncRegistration; |
class PeriodicSyncRegistration final : public GarbageCollectedFinalized<PeriodicSyncRegistration>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PeriodicSyncRegistration* take(ScriptPromiseResolver*, WebSyncRegistration*, ServiceWorkerRegistration*); |
- static void dispose(WebSyncRegistration* registrationRaw); |
+ static PeriodicSyncRegistration* take(ScriptPromiseResolver*, PassOwnPtr<WebSyncRegistration>, ServiceWorkerRegistration*); |
virtual ~PeriodicSyncRegistration(); |