Index: content/browser/renderer_host/input/web_input_event_util_unittest.cc |
diff --git a/content/browser/renderer_host/input/web_input_event_util_unittest.cc b/content/browser/renderer_host/input/web_input_event_util_unittest.cc |
index 2587863d42801bfad960de6e4423b5811b6cee57..e459021626e13940aa6d2ff590cee72e0ef90a9b 100644 |
--- a/content/browser/renderer_host/input/web_input_event_util_unittest.cc |
+++ b/content/browser/renderer_host/input/web_input_event_util_unittest.cc |
@@ -34,6 +34,7 @@ TEST(WebInputEventUtilTest, MotionEventConversion) { |
pointer.pressure = 30; |
pointer.touch_minor = 35; |
pointer.orientation = static_cast<float>(-M_PI / 2); |
+ pointer.tilt = 0.f; |
MotionEventGeneric event( |
MotionEvent::ACTION_DOWN, base::TimeTicks::Now(), pointer); |
event.set_flags(ui::EF_SHIFT_DOWN | ui::EF_ALT_DOWN); |
@@ -53,6 +54,8 @@ TEST(WebInputEventUtilTest, MotionEventConversion) { |
expected_pointer.radiusX = pointer.touch_major / 2.f; |
expected_pointer.radiusY = pointer.touch_minor / 2.f; |
expected_pointer.rotationAngle = 0.f; |
+ expected_pointer.tilt = 0.f; |
+ expected_pointer.tiltDirection = 0.f; |
expected_pointer.force = pointer.pressure; |
expected_event.touches[0] = expected_pointer; |