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

Unified Diff: Source/modules/push_messaging/PushSubscription.h

Issue 1304723002: [PushMessaging] Use appopriate type parameters for WebCallbacks (1/3). (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/push_messaging/PushSubscription.h
diff --git a/Source/modules/push_messaging/PushSubscription.h b/Source/modules/push_messaging/PushSubscription.h
index d9de3ea76c7eb18de5fde3afbf689678bf875268..f16330562d3b0ec98ef0e12ea58b8cb9f69f6a41 100644
--- a/Source/modules/push_messaging/PushSubscription.h
+++ b/Source/modules/push_messaging/PushSubscription.h
@@ -24,7 +24,7 @@ struct WebPushSubscription;
class PushSubscription final : public GarbageCollectedFinalized<PushSubscription>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
- static PushSubscription* take(ScriptPromiseResolver*, WebPushSubscription*, ServiceWorkerRegistration*);
+ static PushSubscription* take(ScriptPromiseResolver*, PassOwnPtr<WebPushSubscription>, ServiceWorkerRegistration*);
static void dispose(WebPushSubscription* subscriptionRaw);
virtual ~PushSubscription();
« no previous file with comments | « Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp ('k') | Source/modules/push_messaging/PushSubscription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698