Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 9694b94df8c122495db4c659ab1452c33863f81f..121dfc69e6f5e34b96ea1d98c1c4e31af0e72b0e 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1248,7 +1248,7 @@ unsigned Internals::scrollEventHandlerCount(Document* document) |
unsigned Internals::touchEventHandlerCount(Document* document) |
{ |
ASSERT(document); |
- return eventHandlerCount(*document, EventHandlerRegistry::TouchEvent); |
+ return eventHandlerCount(*document, EventHandlerRegistry::TouchEvent) + eventHandlerCount(*document, EventHandlerRegistry::TouchMoveEvent); |
} |
static DeprecatedPaintLayer* findLayerForGraphicsLayer(DeprecatedPaintLayer* searchRoot, GraphicsLayer* graphicsLayer, IntSize* layerOffset, String* layerType) |