Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2782893002: WebMouseEvent coordinates are now fractional & private (Closed)
Patch Set: Fixed compile failures. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b32fcc1acb9da6242273a65169a6841ba8c3610c..c4f44a0afc5e55a35ba1a6e6a3f2844e2d2751e5 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -11486,8 +11486,8 @@ bool testSelectAll(const std::string& html) {
WebInputEvent::TimeStampForTesting);
mouseEvent.button = WebMouseEvent::Button::Right;
- mouseEvent.x = 10;
- mouseEvent.y = 10;
+ mouseEvent.position.x = 10;
+ mouseEvent.position.y = 10;
mouseEvent.clickCount = 1;
webView->handleInputEvent(WebCoalescedInputEvent(mouseEvent));
runPendingTasks();

Powered by Google App Engine
This is Rietveld 408576698