Index: third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp |
diff --git a/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp b/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp |
index 3e92c293c5340b2f73c6ea7c15749fa43c4b3a2f..0449cf84b58520e40849955a60572fae5b6800fd 100644 |
--- a/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp |
+++ b/third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp |
@@ -121,7 +121,7 @@ bool UIEventWithKeyState::getModifierState(const String& keyIdentifier) const |
{ "NumLock", PlatformEvent::NumLockOn }, |
{ "Symbol", PlatformEvent::SymbolKey }, |
}; |
- for (size_t i = 0; i < arraysize(kIdentifiers); ++i) { |
+ for (size_t i = 0; i < WTF_ARRAY_LENGTH(kIdentifiers); ++i) { |
if (keyIdentifier == kIdentifiers[i].identifier) |
return m_modifiers & kIdentifiers[i].mask; |
} |