diff --git a/content/events/src/nsDOMKeyboardEvent.cpp b/content/events/src/nsDOMKeyboardEvent.cpp index f1a38754d06..dd23c5647c5 100644 --- a/content/events/src/nsDOMKeyboardEvent.cpp +++ b/content/events/src/nsDOMKeyboardEvent.cpp @@ -105,7 +105,7 @@ nsDOMKeyboardEvent::GetCharCode(PRUint32* aCharCode) switch (mEvent->message) { case NS_KEY_UP: case NS_KEY_DOWN: - NS_WARNING("GetCharCode used for wrong key event; should use onkeypress."); + //NS_WARNING("GetCharCode used for wrong key event; should use onkeypress."); *aCharCode = 0; break; case NS_KEY_PRESS: