Index: chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_unittest.cc |
diff --git a/chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_unittest.cc b/chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_unittest.cc |
index bfe458f0f282c3caa2fe550443957a97149cf2c2..d456b3cad5f021eb2446c7778d7de658489a749b 100644 |
--- a/chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_unittest.cc |
+++ b/chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_unittest.cc |
@@ -43,8 +43,7 @@ class FromGWSPageLoadMetricsObserverTest |
blink::WebInputEvent::NoModifiers, |
blink::WebInputEvent::TimeStampForTesting); |
mouse_event.button = blink::WebMouseEvent::Button::Left; |
- mouse_event.x = 7; |
- mouse_event.y = 7; |
+ mouse_event.setPositionInWidget(7, 7); |
mouse_event.clickCount = 1; |
SimulateInputEvent(mouse_event); |
} |