Index: content/browser/renderer_host/input/touch_emulator.cc |
diff --git a/content/browser/renderer_host/input/touch_emulator.cc b/content/browser/renderer_host/input/touch_emulator.cc |
index d22065e91996143003c35fcd4809b769bcc31ea9..82c438738adf4c828ae128c0008bf5205980622d 100644 |
--- a/content/browser/renderer_host/input/touch_emulator.cc |
+++ b/content/browser/renderer_host/input/touch_emulator.cc |
@@ -447,6 +447,14 @@ void TouchEmulator::FillTouchEventAndPoint(const WebMouseEvent& mouse_event) { |
point.screenPosition.x = mouse_event.globalX; |
point.position.y = mouse_event.y; |
point.screenPosition.y = mouse_event.globalY; |
+ // TODO(e_hakkinen): Leave only either tilt and tiltOrientation, tiltRad |
+ // and tiltOrientationRad or tiltX and tiltY. |
+ point.tilt = 0.f; |
+ point.tiltRad = 0.f; |
+ point.tiltOrientation = 0.f; |
+ point.tiltOrientationRad = 0.f; |
+ point.tiltX = 0.f; |
+ point.tiltY = 0.f; |
} |
bool TouchEmulator::InPinchGestureMode() const { |