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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp

Issue 2655873003: Remove PlatformEvent it is no longer used. (Closed)
Patch Set: Remove PlatformEvent it is no longer used. Created 3 years, 11 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/core/html/HTMLSelectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
index ad5881b756492646994e8e6e03e37bfd44a8f479..1011b1ab1ea292e4fbe8e79d8520d82149500b4f 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
@@ -1286,8 +1286,8 @@ void HTMLSelectElement::menuListDefaultEventHandler(Event* event) {
!isSpatialNavigationEnabled(document().frame()))
return;
- int ignoreModifiers = PlatformEvent::ShiftKey | PlatformEvent::CtrlKey |
- PlatformEvent::AltKey | PlatformEvent::MetaKey;
+ int ignoreModifiers = WebInputEvent::ShiftKey | WebInputEvent::ControlKey |
+ WebInputEvent::AltKey | WebInputEvent::MetaKey;
if (keyEvent->modifiers() & ignoreModifiers)
return;

Powered by Google App Engine
This is Rietveld 408576698