Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug

This commit is contained in:
Masayuki Nakano
2015-09-15 00:14:33 +09:00
parent 66573e66f0
commit 09b663fe71
6 changed files with 6 additions and 6 deletions

View File

@@ -3289,7 +3289,7 @@ HTMLInputElement::PreHandleEvent(EventChainPreVisitor& aVisitor)
textControl = numberControlFrame->GetAnonTextControl();
}
if (textControl && aVisitor.mEvent->originalTarget == textControl) {
if (aVisitor.mEvent->mMessage == NS_EDITOR_INPUT) {
if (aVisitor.mEvent->mMessage == eEditorInput) {
// Propogate the anon text control's new value to our HTMLInputElement:
nsAutoString value;
numberControlFrame->GetValueOfAnonTextControl(value);