Chromium Code Reviews| 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..1c6dc7d682735438e2f1a7d54bb8b7ad39823799 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 = 0; |
|
use mustaq_at_chromium.org
2017/05/15 19:46:53
Please use a non-zero value, say 70.
jkwang
2017/05/16 01:13:26
Done.
|
| for (MotionEvent::ToolType tool_type : tool_types) { |
| pointer.tool_type = tool_type; |
| MotionEventGeneric event( |