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

Unified Diff: Source/core/events/TouchEventContext.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/TouchEventContext.h ('k') | Source/core/events/TreeScopeEventContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/TouchEventContext.cpp
diff --git a/Source/core/events/TouchEventContext.cpp b/Source/core/events/TouchEventContext.cpp
index 5bdd411531858380009aa66f2e959a066b407c2b..866d14688e6f7f7bec5ae07ca79927576c160691 100644
--- a/Source/core/events/TouchEventContext.cpp
+++ b/Source/core/events/TouchEventContext.cpp
@@ -33,9 +33,9 @@
namespace WebCore {
-PassRefPtr<TouchEventContext> TouchEventContext::create()
+PassRefPtrWillBeRawPtr<TouchEventContext> TouchEventContext::create()
{
- return adoptRef(new TouchEventContext);
+ return adoptRefWillBeNoop(new TouchEventContext);
}
TouchEventContext::TouchEventContext()
@@ -58,4 +58,11 @@ void TouchEventContext::handleLocalEvents(Event* event) const
touchEvent->setChangedTouches(m_changedTouches);
}
+void TouchEventContext::trace(Visitor* visitor)
+{
+ visitor->trace(m_touches);
+ visitor->trace(m_targetTouches);
+ visitor->trace(m_changedTouches);
+}
+
}
« no previous file with comments | « Source/core/events/TouchEventContext.h ('k') | Source/core/events/TreeScopeEventContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698