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

Unified Diff: third_party/WebKit/Source/core/events/EventSender.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/core/events/EventSender.h
diff --git a/third_party/WebKit/Source/core/events/EventSender.h b/third_party/WebKit/Source/core/events/EventSender.h
index 03f75c70babe0fcb3ac9b1f2453e30119b3b2d2b..06a39f58f67db1304969ff22e16c861125479a02 100644
--- a/third_party/WebKit/Source/core/events/EventSender.h
+++ b/third_party/WebKit/Source/core/events/EventSender.h
@@ -34,13 +34,12 @@
namespace blink {
template<typename T>
-class EventSender final : public NoBaseWillBeGarbageCollectedFinalized<EventSender<T>> {
+class EventSender final : public GarbageCollectedFinalized<EventSender<T>> {
WTF_MAKE_NONCOPYABLE(EventSender);
- USING_FAST_MALLOC_WILL_BE_REMOVED(EventSender);
public:
- static PassOwnPtrWillBeRawPtr<EventSender> create(const AtomicString& eventType)
+ static RawPtr<EventSender> create(const AtomicString& eventType)
{
- return adoptPtrWillBeNoop(new EventSender(eventType));
+ return new EventSender(eventType);
}
const AtomicString& eventType() const { return m_eventType; }
@@ -68,8 +67,8 @@ private:
AtomicString m_eventType;
Timer<EventSender<T>> m_timer;
- WillBeHeapVector<RawPtrWillBeMember<T>> m_dispatchSoonList;
- WillBeHeapVector<RawPtrWillBeMember<T>> m_dispatchingList;
+ HeapVector<Member<T>> m_dispatchSoonList;
+ HeapVector<Member<T>> m_dispatchingList;
};
template<typename T> EventSender<T>::EventSender(const AtomicString& eventType)
« no previous file with comments | « third_party/WebKit/Source/core/events/EventQueue.h ('k') | third_party/WebKit/Source/core/events/EventTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698