| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index 2d6201d5b01abc6ac2bbb207212e0b1f706e6fce..10b9f59653280f99c142f7e9730b84d68a76d807 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -1211,14 +1211,7 @@ unsigned Internals::scrollEventHandlerCount(Document* document)
|
| unsigned Internals::touchEventHandlerCount(Document* document)
|
| {
|
| ASSERT(document);
|
| - const TouchEventTargetSet* touchHandlers = document->touchEventTargets();
|
| - if (!touchHandlers)
|
| - return 0;
|
| -
|
| - unsigned count = 0;
|
| - for (TouchEventTargetSet::const_iterator iter = touchHandlers->begin(); iter != touchHandlers->end(); ++iter)
|
| - count += iter->value;
|
| - return count;
|
| + return eventHandlerCount(*document, EventHandlerRegistry::TouchEvent);
|
| }
|
|
|
| static RenderLayer* findRenderLayerForGraphicsLayer(RenderLayer* searchRoot, GraphicsLayer* graphicsLayer, IntSize* layerOffset, String* layerType)
|
|
|