Index: Source/modules/push_messaging/PushController.h |
diff --git a/Source/modules/push_messaging/PushController.h b/Source/modules/push_messaging/PushController.h |
index fea4b821ea7816104c0a2f3f0d94dbb47ed8990b..84a08d5aa5ac9cb5490a4c8209728d62ccadc989 100644 |
--- a/Source/modules/push_messaging/PushController.h |
+++ b/Source/modules/push_messaging/PushController.h |
@@ -17,15 +17,14 @@ class WebPushClient; |
namespace WebCore { |
-class PushController FINAL : public Supplement<Page> { |
+class PushController FINAL : public NoBaseWillBeGarbageCollected<PushController>, public WillBeHeapSupplement<Page> { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PushController); |
WTF_MAKE_NONCOPYABLE(PushController); |
public: |
- virtual ~PushController(); |
- |
- static PassOwnPtr<PushController> create(blink::WebPushClient*); |
+ static PassOwnPtrWillBeRawPtr<PushController> create(blink::WebPushClient*); |
static const char* supplementName(); |
- static PushController* from(Page* page) { return static_cast<PushController*>(Supplement<Page>::from(page, supplementName())); } |
+ static PushController* from(Page* page) { return static_cast<PushController*>(WillBeHeapSupplement<Page>::from(page, supplementName())); } |
static blink::WebPushClient* clientFrom(Page*); |
blink::WebPushClient* client() const { return m_client; } |