Chromium Code Reviews| 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 74b38a460e8554b99ce89bff02e1e8b2cbff684a..eff8135816eeeedc863fe67cb06e8a77e890551c 100644 |
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp |
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp |
| @@ -1608,6 +1608,11 @@ unsigned Internals::touchEndOrCancelEventHandlerCount(Document* document) { |
| EventHandlerRegistry::kTouchEndOrCancelEventPassive); |
| } |
| +unsigned Internals::pointerEventHandlerCount(Document* document) { |
|
dtapuska
2017/06/01 16:03:01
This should be able to be const.
eirage
2017/06/01 19:59:24
Done.
|
| + DCHECK(document); |
| + return EventHandlerCount(*document, EventHandlerRegistry::kPointerEvent); |
| +} |
| + |
| static PaintLayer* FindLayerForGraphicsLayer(PaintLayer* search_root, |
| GraphicsLayer* graphics_layer, |
| IntSize* layer_offset, |