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

Unified Diff: third_party/WebKit/Source/core/events/EventListenerMap.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/EventListenerMap.h
diff --git a/third_party/WebKit/Source/core/events/EventListenerMap.h b/third_party/WebKit/Source/core/events/EventListenerMap.h
index 808b10a7b2f9435ec66313da7bd737c864f99849..bed3e9235e4c19e1aea1456bc417a354e9421e8d 100644
--- a/third_party/WebKit/Source/core/events/EventListenerMap.h
+++ b/third_party/WebKit/Source/core/events/EventListenerMap.h
@@ -44,7 +44,7 @@ namespace blink {
class EventTarget;
-using EventListenerVector = WillBeHeapVector<RegisteredEventListener, 1>;
+using EventListenerVector = HeapVector<RegisteredEventListener, 1>;
class CORE_EXPORT EventListenerMap {
WTF_MAKE_NONCOPYABLE(EventListenerMap);
@@ -57,7 +57,7 @@ public:
bool containsCapturing(const AtomicString& eventType) const;
void clear();
- bool add(const AtomicString& eventType, PassRefPtrWillBeRawPtr<EventListener>, const EventListenerOptions&);
+ bool add(const AtomicString& eventType, RawPtr<EventListener>, const EventListenerOptions&);
bool remove(const AtomicString& eventType, EventListener*, const EventListenerOptions&, size_t& indexOfRemovedListener);
EventListenerVector* find(const AtomicString& eventType);
Vector<AtomicString> eventTypes() const;
@@ -71,7 +71,7 @@ private:
void assertNoActiveIterators();
- WillBeHeapVector<std::pair<AtomicString, OwnPtrWillBeMember<EventListenerVector>>, 2> m_entries;
+ HeapVector<std::pair<AtomicString, Member<EventListenerVector>>, 2> m_entries;
#if ENABLE(ASSERT)
int m_activeIteratorCount;
« no previous file with comments | « third_party/WebKit/Source/core/events/EventListener.h ('k') | third_party/WebKit/Source/core/events/EventListenerMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698