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); |
+} |
+ |
} |