Index: Source/web/WebInputEventConversion.cpp |
diff --git a/Source/web/WebInputEventConversion.cpp b/Source/web/WebInputEventConversion.cpp |
index b61f9ad7e5b6ef8c1293da38536f7531f51c5149..7825ccb8d11a494388421cab175d3d1f691936fc 100644 |
--- a/Source/web/WebInputEventConversion.cpp |
+++ b/Source/web/WebInputEventConversion.cpp |
@@ -602,11 +602,11 @@ WebKeyboardEventBuilder::WebKeyboardEventBuilder(const KeyboardEvent& event) |
return; // Skip all other keyboard events. |
modifiers = getWebInputModifiers(event); |
- if (event.keyLocation() == KeyboardEvent::DOMKeyLocationNumpad) |
+ if (event.keyLocation() == KeyboardEvent::DOM_KEY_LOCATION_NUMPAD) |
modifiers |= WebInputEvent::IsKeyPad; |
- else if (event.keyLocation() == KeyboardEvent::DOMKeyLocationLeft) |
+ else if (event.keyLocation() == KeyboardEvent::DOM_KEY_LOCATION_LEFT) |
modifiers |= WebInputEvent::IsLeft; |
- else if (event.keyLocation() == KeyboardEvent::DOMKeyLocationRight) |
+ else if (event.keyLocation() == KeyboardEvent::DOM_KEY_LOCATION_RIGHT) |
modifiers |= WebInputEvent::IsRight; |
timeStampSeconds = event.timeStamp() / millisPerSecond; |