Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1854)

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Fix nits Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698