Index: Source/core/events/TreeScopeEventContext.cpp |
diff --git a/Source/core/events/TreeScopeEventContext.cpp b/Source/core/events/TreeScopeEventContext.cpp |
index 4966a59af18493c85b0b8efc93f02496f7b469b2..79ad61ba45eea2ed3218bbeaf5038310a5bce6cb 100644 |
--- a/Source/core/events/TreeScopeEventContext.cpp |
+++ b/Source/core/events/TreeScopeEventContext.cpp |
@@ -34,12 +34,12 @@ |
namespace blink { |
-WillBeHeapVector<RefPtrWillBeRawPtr<EventTarget>>& TreeScopeEventContext::ensureEventPath(EventPath& path) |
+WillBeHeapVector<RefPtrWillBeMember<EventTarget>>& TreeScopeEventContext::ensureEventPath(EventPath& path) |
{ |
if (m_eventPath) |
return *m_eventPath; |
- m_eventPath = adoptPtrWillBeNoop(new WillBeHeapVector<RefPtrWillBeRawPtr<EventTarget>>()); |
+ m_eventPath = adoptPtrWillBeNoop(new WillBeHeapVector<RefPtrWillBeMember<EventTarget>>()); |
LocalDOMWindow* window = path.windowEventContext().window(); |
m_eventPath->reserveCapacity(path.size() + window ? 1 : 0); |
for (size_t i = 0; i < path.size(); ++i) { |