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

Unified Diff: Source/core/events/EventPath.cpp

Issue 185413023: Oilpan: move Touch related objects to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Avoid MSVC local class member function restriction Created 6 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
« no previous file with comments | « Source/core/events/EventPath.h ('k') | Source/core/events/TouchEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/events/EventPath.h ('k') | Source/core/events/TouchEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698