Index: Source/WebCore/page/EventHandler.cpp |
=================================================================== |
--- Source/WebCore/page/EventHandler.cpp (revision 138153) |
+++ Source/WebCore/page/EventHandler.cpp (working copy) |
@@ -3769,7 +3769,7 @@ |
} |
if (!doc) |
continue; |
- if (!doc->hasTouchEventHandlers()) |
+ if (!doc->touchEventHandlerCount()) |
continue; |
m_originatingTouchPointTargets.set(touchPointTargetKey, node); |
touchTarget = node; |
@@ -3794,7 +3794,7 @@ |
Document* doc = touchTarget->toNode()->document(); |
if (!doc) |
continue; |
- if (!doc->hasTouchEventHandlers()) |
+ if (!doc->touchEventHandlerCount()) |
continue; |
Frame* targetFrame = doc->frame(); |
if (!targetFrame) |