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

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

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: using namespace WebCore Created 6 years, 8 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/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; }
« no previous file with comments | « Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp ('k') | Source/modules/push_messaging/PushController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698