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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/push_messaging/PushController.h
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushController.h b/third_party/WebKit/Source/modules/push_messaging/PushController.h
index ee98aa71d608a4be14992a4bdcef2219ab8bd375..9b1e6e6c21fc0ab6bf98bb2349c828df4b2ad2aa 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushController.h
+++ b/third_party/WebKit/Source/modules/push_messaging/PushController.h
@@ -16,18 +16,16 @@ namespace blink {
class WebPushClient;
-class PushController final : public NoBaseWillBeGarbageCollected<PushController>, public WillBeHeapSupplement<LocalFrame> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PushController);
+class PushController final : public GarbageCollected<PushController>, public HeapSupplement<LocalFrame> {
+ USING_GARBAGE_COLLECTED_MIXIN(PushController);
WTF_MAKE_NONCOPYABLE(PushController);
- USING_FAST_MALLOC_WILL_BE_REMOVED(PushController);
-
public:
- static PassOwnPtrWillBeRawPtr<PushController> create(WebPushClient*);
+ static RawPtr<PushController> create(WebPushClient*);
static const char* supplementName();
- static PushController* from(LocalFrame* frame) { return static_cast<PushController*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName())); }
+ static PushController* from(LocalFrame* frame) { return static_cast<PushController*>(HeapSupplement<LocalFrame>::from(frame, supplementName())); }
static WebPushClient& clientFrom(LocalFrame*);
- DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<LocalFrame>::trace(visitor); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { HeapSupplement<LocalFrame>::trace(visitor); }
private:
explicit PushController(WebPushClient*);

Powered by Google App Engine
This is Rietveld 408576698