Index: sky/engine/core/events/TreeScopeEventContext.h |
diff --git a/sky/engine/core/events/TreeScopeEventContext.h b/sky/engine/core/events/TreeScopeEventContext.h |
index a7f46e677eec5a93b3be12ae00835557dd0d5743..25abc89a961bfdf65856c19acb5f49c8c3418dc1 100644 |
--- a/sky/engine/core/events/TreeScopeEventContext.h |
+++ b/sky/engine/core/events/TreeScopeEventContext.h |
@@ -41,7 +41,6 @@ class EventTarget; |
class Node; |
template <typename NodeType> class StaticNodeTypeList; |
typedef StaticNodeTypeList<Node> StaticNodeList; |
-class TouchEventContext; |
class TreeScope; |
class TreeScopeEventContext final : public RefCounted<TreeScopeEventContext> { |
@@ -57,9 +56,6 @@ public: |
EventTarget* relatedTarget() const { return m_relatedTarget.get(); } |
void setRelatedTarget(PassRefPtr<EventTarget>); |
- TouchEventContext* touchEventContext() const { return m_touchEventContext.get(); } |
- TouchEventContext* ensureTouchEventContext(); |
- |
PassRefPtr<StaticNodeList> ensureEventPath(EventPath&); |
bool isInclusiveAncestorOf(const TreeScopeEventContext&); |
@@ -80,7 +76,6 @@ private: |
RefPtr<EventTarget> m_target; |
RefPtr<EventTarget> m_relatedTarget; |
RefPtr<StaticNodeList> m_eventPath; |
- RefPtr<TouchEventContext> m_touchEventContext; |
Vector<RawPtr<TreeScopeEventContext> > m_children; |
int m_preOrder; |