Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
index ca2f6893f01450038e33fe09f96383a3eb05655e..bcb7a4a33115f2d43345a99490c5dc44ac124616 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -11566,8 +11566,7 @@ bool testSelectAll(const std::string& html) { |
WebInputEvent::TimeStampForTesting); |
mouseEvent.button = WebMouseEvent::Button::Right; |
- mouseEvent.x = 10; |
- mouseEvent.y = 10; |
+ mouseEvent.setPositionInWidget(10, 10); |
mouseEvent.clickCount = 1; |
webView->handleInputEvent(WebCoalescedInputEvent(mouseEvent)); |
runPendingTasks(); |