| 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;
|
|
|