Index: Source/core/events/EventPath.cpp |
diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp |
index dbd3e5f0ab13a68fbb813a054c7888362d29d127..11c9d97b099f68613b534a3fed924f1e1af4601b 100644 |
--- a/Source/core/events/EventPath.cpp |
+++ b/Source/core/events/EventPath.cpp |
@@ -324,9 +324,9 @@ void EventPath::shrinkIfNeeded(const Node* target, const EventTarget* relatedTar |
void EventPath::adjustForTouchEvent(Node* node, TouchEvent& touchEvent) |
{ |
- Vector<TouchList*> adjustedTouches; |
- Vector<TouchList*> adjustedTargetTouches; |
- Vector<TouchList*> adjustedChangedTouches; |
+ WillBeHeapVector<RawPtrWillBeMember<TouchList> > adjustedTouches; |
+ WillBeHeapVector<RawPtrWillBeMember<TouchList> > adjustedTargetTouches; |
+ WillBeHeapVector<RawPtrWillBeMember<TouchList> > adjustedChangedTouches; |
Vector<TreeScope*> treeScopes; |
for (size_t i = 0; i < m_treeScopeEventContexts.size(); ++i) { |
@@ -352,7 +352,7 @@ void EventPath::adjustForTouchEvent(Node* node, TouchEvent& touchEvent) |
#endif |
} |
-void EventPath::adjustTouchList(const Node* node, const TouchList* touchList, Vector<TouchList*> adjustedTouchList, const Vector<TreeScope*>& treeScopes) |
+void EventPath::adjustTouchList(const Node* node, const TouchList* touchList, WillBeHeapVector<RawPtrWillBeMember<TouchList> > adjustedTouchList, const Vector<TreeScope*>& treeScopes) |
{ |
if (!touchList) |
return; |