Index: chrome/browser/extensions/api/web_request/web_request_apitest.cc |
diff --git a/chrome/browser/extensions/api/web_request/web_request_apitest.cc b/chrome/browser/extensions/api/web_request/web_request_apitest.cc |
index 9c020f87a67d6669f26d4c4bb15a19034a955e8f..f06670db08ca5ec825844f6d3289aa754b003d3b 100644 |
--- a/chrome/browser/extensions/api/web_request/web_request_apitest.cc |
+++ b/chrome/browser/extensions/api/web_request/web_request_apitest.cc |
@@ -278,8 +278,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionWebRequestApiTest, MAYBE_WebRequestNewTab) { |
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; |
tab->GetRenderViewHost()->GetWidget()->ForwardMouseEvent(mouse_event); |
mouse_event.setType(blink::WebInputEvent::MouseUp); |