diff options
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/dom/Document.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/dom/Document.cpp b/WebCore/dom/Document.cpp index 5bae60e..48d701e 100644 --- a/WebCore/dom/Document.cpp +++ b/WebCore/dom/Document.cpp @@ -3105,6 +3105,7 @@ void Document::addListenerTypeIfNeeded(const AtomicString& eventType) addListenerType(TRANSITIONEND_LISTENER); else if (eventType == eventNames().beforeloadEvent) addListenerType(BEFORELOAD_LISTENER); +#if ENABLE(TOUCH_EVENTS) else if (eventType == eventNames().touchstartEvent || eventType == eventNames().touchmoveEvent || eventType == eventNames().touchendEvent @@ -3113,6 +3114,7 @@ void Document::addListenerTypeIfNeeded(const AtomicString& eventType) if (Page* page = this->page()) page->chrome()->client()->needTouchEvents(true); } +#endif } CSSStyleDeclaration* Document::getOverrideStyle(Element*, const String&) |