Index: content/common/input/input_param_traits_unittest.cc |
diff --git a/content/common/input/input_param_traits_unittest.cc b/content/common/input/input_param_traits_unittest.cc |
index fa274b921b9d8abd3ae9ddfd0874307b9251019e..6cee0d93041ec26276db0fbf938ba3fd74c9bdaf 100644 |
--- a/content/common/input/input_param_traits_unittest.cc |
+++ b/content/common/input/input_param_traits_unittest.cc |
@@ -216,7 +216,7 @@ TEST_F(InputParamTraitsTest, InitializedEvents) { |
blink::WebMouseEvent mouse_event(blink::WebInputEvent::MouseDown, |
blink::WebInputEvent::NoModifiers, |
blink::WebInputEvent::TimeStampForTesting); |
- mouse_event.x = 10; |
+ mouse_event.setPositionInWidget(10, 0); |
latency.AddLatencyNumber(ui::INPUT_EVENT_LATENCY_UI_COMPONENT, 2, 2); |
events.push_back(base::MakeUnique<InputEvent>(mouse_event, latency)); |