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

Unified Diff: third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp

Issue 1548993002: Switch to standard integer types in base/strings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/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;
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingBehavior.cpp ('k') | third_party/WebKit/Source/core/fetch/ResourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698