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

Unified Diff: Source/modules/background_sync/SyncRegistration.h

Issue 1311053002: [BackgroundSync] Use appopriate type parameters for WebCallbacks (2/4) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
Index: Source/modules/background_sync/SyncRegistration.h
diff --git a/Source/modules/background_sync/SyncRegistration.h b/Source/modules/background_sync/SyncRegistration.h
index f5288a1779ecaf9a1d319b45468e5e6a2f784081..e36bed15ec9b48f1d895de185abbfb4e0b499697 100644
--- a/Source/modules/background_sync/SyncRegistration.h
+++ b/Source/modules/background_sync/SyncRegistration.h
@@ -22,8 +22,7 @@ class MODULES_EXPORT SyncRegistration final : public GarbageCollectedFinalized<S
DEFINE_WRAPPERTYPEINFO();
public:
static SyncRegistration* create(const WebSyncRegistration&, ServiceWorkerRegistration*);
- static SyncRegistration* take(ScriptPromiseResolver*, WebSyncRegistration*, ServiceWorkerRegistration*);
- static void dispose(WebSyncRegistration* registrationRaw);
+ static SyncRegistration* take(ScriptPromiseResolver*, PassOwnPtr<WebSyncRegistration>, ServiceWorkerRegistration*);
virtual ~SyncRegistration();

Powered by Google App Engine
This is Rietveld 408576698