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

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

Issue 2569273002: Add constructors to WebInputEvents and setters so we can work at cleaning up these public structs. (Closed)
Patch Set: Rebase Created 3 years, 12 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/LinkSelectionTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
index 2a653dc5289189e5ec4cef0ff8fe24032d8d7dbe..e327df9a8d2a8b71947622a2b1034d285529e48f 100644
--- a/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
+++ b/third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp
@@ -92,7 +92,7 @@ void LinkSelectionTestBase::emulateMouseClick(const IntPoint& clickPoint,
WebMouseEvent::MouseDown, button, clickPoint, modifiers);
event.clickCount = count;
m_webView->handleInputEvent(event);
- event.type = WebMouseEvent::MouseUp;
+ event.setType(WebMouseEvent::MouseUp);
m_webView->handleInputEvent(event);
}

Powered by Google App Engine
This is Rietveld 408576698