Index: content/common/input/synthetic_web_input_event_builders.cc |
diff --git a/content/common/input/synthetic_web_input_event_builders.cc b/content/common/input/synthetic_web_input_event_builders.cc |
index d2f4c393950b25753f6e6587841db253838df85e..a3922a485494f00931b24284eb2927f0d091aecc 100644 |
--- a/content/common/input/synthetic_web_input_event_builders.cc |
+++ b/content/common/input/synthetic_web_input_event_builders.cc |
@@ -182,6 +182,11 @@ int SyntheticWebTouchEvent::PressPoint(float x, float y) { |
point.radiusX = point.radiusY = 1.f; |
point.rotationAngle = 1.f; |
point.force = 1.f; |
+ // TODO(e_hakkinen): Leave only either tilt and tiltOrientation, tiltRad and |
+ // tiltOrientationRad or tiltX and tiltY. |
+ point.tilt = point.tiltOrientation = 0.f; |
+ point.tiltRad = point.tiltOrientationRad = 0.f; |
+ point.tiltX = point.tiltY = 0.f; |
++touchesLength; |
WebTouchEventTraits::ResetType( |
WebInputEvent::TouchStart, timeStampSeconds, this); |