Index: third_party/WebKit/Source/core/testing/Internals.cpp |
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp |
index bb577b81a6a09800f02cd5c42d1c11dc8ad67ea6..040fdbd78dd15702013fbcbf03fa4ceb334c3133 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -1277,6 +1277,12 @@ unsigned Internals::touchEventHandlerCount(Document* document) |
return eventHandlerCount(*document, EventHandlerRegistry::TouchEventBlocking); |
} |
+unsigned Internals::touchEndOrCancelEventHandlerCount(Document* document) |
+{ |
+ ASSERT(document); |
+ return eventHandlerCount(*document, EventHandlerRegistry::TouchEndOrCancelEventBlocking); |
+} |
+ |
static PaintLayer* findLayerForGraphicsLayer(PaintLayer* searchRoot, GraphicsLayer* graphicsLayer, IntSize* layerOffset, String* layerType) |
{ |
*layerOffset = IntSize(); |