Index: Source/core/events/EventPath.cpp |
diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp |
index 72c272cde7f4c0a49ca2e6c1580499f38283534c..ee2106f2e7a15fe7fea77fdf56d118586fb52907 100644 |
--- a/Source/core/events/EventPath.cpp |
+++ b/Source/core/events/EventPath.cpp |
@@ -145,7 +145,7 @@ void EventPath::calculatePath() |
while (current) { |
if (current->isShadowRoot() && m_event && determineDispatchBehavior(m_event, toShadowRoot(current), m_node) == StayInsideShadowDOM) |
break; |
- Vector<InsertionPoint*, 8> insertionPoints; |
+ WillBeHeapVector<RawPtrWillBeMember<InsertionPoint>, 8> insertionPoints; |
collectDestinationInsertionPoints(*current, insertionPoints); |
if (!insertionPoints.isEmpty()) { |
for (size_t i = 0; i < insertionPoints.size(); ++i) { |