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

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

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Created 4 years 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/WebPluginContainerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
index 879c45573b8b1427e26fd3866ce39153bbf5cce4..b57af21e0387cabe7bfcce5b914f464858587485 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -454,7 +454,7 @@ class EventTestPlugin : public FakeWebPlugin {
WebInputEventResult handleInputEvent(const WebInputEvent& event,
WebCursorInfo&) override {
- m_lastEventType = event.type;
+ m_lastEventType = event.type();
return WebInputEventResult::HandledSystem;
}
WebInputEvent::Type getLastInputEventType() { return m_lastEventType; }

Powered by Google App Engine
This is Rietveld 408576698