Index: Source/modules/push_messaging/PushRegistration.h |
diff --git a/Source/modules/push_messaging/PushRegistration.h b/Source/modules/push_messaging/PushRegistration.h |
index c7ccea7d2c5a20731c03130769f6230f1386d6de..4fa02408b57eeb7de96db110366c679822d774d0 100644 |
--- a/Source/modules/push_messaging/PushRegistration.h |
+++ b/Source/modules/push_messaging/PushRegistration.h |
@@ -24,6 +24,10 @@ public: |
OwnPtr<WebType> registration = adoptPtr(registrationRaw); |
return new PushRegistration(registration->endpoint, registration->registrationId); |
} |
+ static void dispose(WebType* registrationRaw) |
+ { |
+ delete registrationRaw; |
+ } |
virtual ~PushRegistration(); |