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