diff options
Diffstat (limited to 'WebCore/dom')
-rw-r--r-- | WebCore/dom/Document.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/dom/Document.cpp b/WebCore/dom/Document.cpp index 48d701e..c8d21ba 100644 --- a/WebCore/dom/Document.cpp +++ b/WebCore/dom/Document.cpp @@ -3110,9 +3110,9 @@ void Document::addListenerTypeIfNeeded(const AtomicString& eventType) || eventType == eventNames().touchmoveEvent || eventType == eventNames().touchendEvent || eventType == eventNames().touchcancelEvent) { - addListenerType(TOUCH_LISTENER); - if (Page* page = this->page()) - page->chrome()->client()->needTouchEvents(true); + addListenerType(TOUCH_LISTENER); + if (Page* page = this->page()) + page->chrome()->client()->needTouchEvents(true); } #endif } |