Index: Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp |
=================================================================== |
--- Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp (revision 129420) |
+++ Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp (working copy) |
@@ -1188,6 +1188,10 @@ |
case WebInputEvent::GestureTapDown: |
event.x = point.x; |
event.y = point.y; |
+ if (arguments.size() >= 4) { |
+ event.data.tapDown.width = static_cast<float>(arguments[2].toDouble()); |
+ event.data.tapDown.height = static_cast<float>(arguments[3].toDouble()); |
+ } |
break; |
case WebInputEvent::GestureTapCancel: |
event.x = point.x; |