Index: sky/engine/core/events/TreeScopeEventContext.cpp |
diff --git a/sky/engine/core/events/TreeScopeEventContext.cpp b/sky/engine/core/events/TreeScopeEventContext.cpp |
index baab50c265522f05e6b505005c6208993f747b63..09b5977950668d4dfba3b9e6f9fce2e826cfce1e 100644 |
--- a/sky/engine/core/events/TreeScopeEventContext.cpp |
+++ b/sky/engine/core/events/TreeScopeEventContext.cpp |
@@ -30,7 +30,6 @@ |
#include "sky/engine/core/dom/StaticNodeList.h" |
#include "sky/engine/core/dom/shadow/ShadowRoot.h" |
#include "sky/engine/core/events/EventPath.h" |
-#include "sky/engine/core/events/TouchEventContext.h" |
namespace blink { |
@@ -52,13 +51,6 @@ PassRefPtr<StaticNodeList> TreeScopeEventContext::ensureEventPath(EventPath& pat |
return m_eventPath; |
} |
-TouchEventContext* TreeScopeEventContext::ensureTouchEventContext() |
-{ |
- if (!m_touchEventContext) |
- m_touchEventContext = TouchEventContext::create(); |
- return m_touchEventContext.get(); |
-} |
- |
PassRefPtr<TreeScopeEventContext> TreeScopeEventContext::create(TreeScope& treeScope) |
{ |
return adoptRef(new TreeScopeEventContext(treeScope)); |