| Index: Source/modules/push_messaging/PushRegistrationCallbacks.h
|
| diff --git a/Source/modules/push_messaging/PushRegistrationCallbacks.h b/Source/modules/push_messaging/PushRegistrationCallbacks.h
|
| index cdf4c90adbda1dd5c63bd080bda992acf4d1d8c2..7f93d27205d7e20b43a098da59f3e7200468fcde 100644
|
| --- a/Source/modules/push_messaging/PushRegistrationCallbacks.h
|
| +++ b/Source/modules/push_messaging/PushRegistrationCallbacks.h
|
| @@ -25,14 +25,14 @@ struct WebPushRegistration;
|
| class PushRegistrationCallbacks final : public WebCallbacks<WebPushRegistration, WebPushError> {
|
| WTF_MAKE_NONCOPYABLE(PushRegistrationCallbacks);
|
| public:
|
| - PushRegistrationCallbacks(PassRefPtr<ScriptPromiseResolver>, ServiceWorkerRegistration*);
|
| + PushRegistrationCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver>, ServiceWorkerRegistration*);
|
| ~PushRegistrationCallbacks() override;
|
|
|
| void onSuccess(WebPushRegistration*) override;
|
| void onError(WebPushError*) override;
|
|
|
| private:
|
| - RefPtr<ScriptPromiseResolver> m_resolver;
|
| + RefPtrWillBePersistent<ScriptPromiseResolver> m_resolver;
|
| Persistent<ServiceWorkerRegistration> m_serviceWorkerRegistration;
|
| };
|
|
|
|
|