Bug 895274 part.64 Rename NS_FORM_RESET to eFormReset r=smaug

This commit is contained in:
Masayuki Nakano
2015-09-02 15:08:00 +09:00
parent 76c0053ddf
commit 0d36973798
8 changed files with 13 additions and 15 deletions

View File

@@ -370,7 +370,7 @@ HTMLButtonElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
if (mForm && (mType == NS_FORM_BUTTON_SUBMIT ||
mType == NS_FORM_BUTTON_RESET)) {
InternalFormEvent event(true,
(mType == NS_FORM_BUTTON_RESET) ? NS_FORM_RESET : eFormSubmit);
(mType == NS_FORM_BUTTON_RESET) ? eFormReset : eFormSubmit);
event.originator = this;
nsEventStatus status = nsEventStatus_eIgnore;