Index: Source/modules/push_messaging/PushRegistration.h |
diff --git a/Source/modules/push_messaging/PushRegistration.h b/Source/modules/push_messaging/PushRegistration.h |
index 430501e6a064eee4fa8bd2d76220f1e73204be39..ebfcf7173a57955ec82051bcdca9b6b3259b81c0 100644 |
--- a/Source/modules/push_messaging/PushRegistration.h |
+++ b/Source/modules/push_messaging/PushRegistration.h |
@@ -13,13 +13,13 @@ |
namespace WebCore { |
-class NewScriptState; |
+class ScriptPromiseResolverWithContext; |
class PushRegistration FINAL : public RefCountedWillBeGarbageCollectedFinalized<PushRegistration>, public ScriptWrappable { |
public: |
// For CallbackPromiseAdapter. |
typedef blink::WebPushRegistration WebType; |
- static PassRefPtrWillBeRawPtr<PushRegistration> from(NewScriptState*, WebType* registrationRaw) |
+ static PassRefPtrWillBeRawPtr<PushRegistration> from(ScriptPromiseResolverWithContext*, WebType* registrationRaw) |
{ |
OwnPtr<WebType> registration = adoptPtr(registrationRaw); |
return adoptRefWillBeNoop(new PushRegistration(registration->endpoint, registration->registrationId)); |