| Index: trunk/Source/core/testing/Internals.cpp
|
| ===================================================================
|
| --- trunk/Source/core/testing/Internals.cpp (revision 177995)
|
| +++ trunk/Source/core/testing/Internals.cpp (working copy)
|
| @@ -1310,7 +1310,14 @@
|
| return 0;
|
| }
|
|
|
| - return eventHandlerCount(*document, EventHandlerRegistry::TouchEvent);
|
| + 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;
|
| }
|
|
|
| static RenderLayer* findRenderLayerForGraphicsLayer(RenderLayer* searchRoot, GraphicsLayer* graphicsLayer, IntSize* layerOffset, String* layerType)
|
|
|