| 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 56c16021bac31248a46d12b59137e165b05fe1be..0f16e5a0cce28d3226af13b3a13567012ab2398e 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
|
| @@ -41,7 +41,8 @@ TEST(WebInputEventUtilTest, MotionEventConversion) {
|
| pointer.pressure = 30;
|
| pointer.touch_minor = 35;
|
| pointer.orientation = static_cast<float>(-M_PI / 2);
|
| - pointer.tilt = static_cast<float>(M_PI / 3);
|
| + pointer.tilt_x = 60;
|
| + pointer.tilt_y = 70;
|
| for (MotionEvent::ToolType tool_type : tool_types) {
|
| pointer.tool_type = tool_type;
|
| MotionEventGeneric event(
|
| @@ -66,7 +67,7 @@ TEST(WebInputEventUtilTest, MotionEventConversion) {
|
| expected_pointer.force = pointer.pressure;
|
| if (tool_type == MotionEvent::TOOL_TYPE_STYLUS) {
|
| expected_pointer.tilt_x = 60;
|
| - expected_pointer.tilt_y = 0;
|
| + expected_pointer.tilt_y = 70;
|
| } else {
|
| expected_pointer.tilt_x = 0;
|
| expected_pointer.tilt_y = 0;
|
|
|