Index: ui/events/blink/input_handler_proxy_unittest.cc |
diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc |
index cc97babd1080298d257ea86b01ddc8fcb40214ab..0df72e075bad6cea00e0c74d6ff9dbfc7a420a75 100644 |
--- a/ui/events/blink/input_handler_proxy_unittest.cc |
+++ b/ui/events/blink/input_handler_proxy_unittest.cc |
@@ -1278,10 +1278,9 @@ TEST_P(InputHandlerProxyTest, GestureFlingPassiveListener) { |
.WillOnce(testing::Return(scroll_result_did_scroll_)); |
WebMouseWheelEvent expected_wheel(WebInputEvent::MouseWheel, modifiers, |
WebInputEvent::TimeStampForTesting); |
- expected_wheel.x = fling_point.x; |
- expected_wheel.y = fling_point.y; |
- expected_wheel.globalX = fling_global_point.x; |
- expected_wheel.globalY = fling_global_point.y; |
+ expected_wheel.setPositionInWidget(fling_point.x, fling_point.y); |
+ expected_wheel.setPositionInScreen(fling_global_point.x, |
+ fling_global_point.y); |
expected_wheel.deltaX = fling_delta.x / 10; |
expected_wheel.hasPreciseScrollingDeltas = true; |