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 624aaa7089913c0809d2db48a6e810cdee41db17..0b114421a6f713017b174f31e97de33a85e05427 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.cpp |
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
@@ -1259,7 +1259,7 @@ static unsigned eventHandlerCount(Document& document, EventHandlerRegistry::Even |
unsigned Internals::wheelEventHandlerCount(Document* document) |
{ |
ASSERT(document); |
- return eventHandlerCount(*document, EventHandlerRegistry::WheelEvent); |
+ return eventHandlerCount(*document, EventHandlerRegistry::WheelEventBlocking); |
} |
unsigned Internals::scrollEventHandlerCount(Document* document) |
@@ -1271,7 +1271,7 @@ unsigned Internals::scrollEventHandlerCount(Document* document) |
unsigned Internals::touchEventHandlerCount(Document* document) |
{ |
ASSERT(document); |
- return eventHandlerCount(*document, EventHandlerRegistry::TouchEvent); |
+ return eventHandlerCount(*document, EventHandlerRegistry::TouchEventBlocking); |
} |
static PaintLayer* findLayerForGraphicsLayer(PaintLayer* searchRoot, GraphicsLayer* graphicsLayer, IntSize* layerOffset, String* layerType) |