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 d936487d2f1f6807e164e89c71e22cc8f3a1ffd8..df67acb7bfda88221a8588b9870c05ed69e108e2 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -11492,8 +11492,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(); |