Bug 1018486 - Part 1: Changes in dom/, r=baku

MozReview-Commit-ID: 4tCUM4KRe81
This commit is contained in:
Michael Layzell
2016-08-24 14:12:09 -04:00
parent 6353e8deda
commit f2f13378b5
25 changed files with 97 additions and 83 deletions

View File

@@ -386,7 +386,7 @@ HTMLButtonElement::PostHandleEvent(EventChainPostVisitor& aVisitor)
// see bug 592124.
// Hold a strong ref while dispatching
RefPtr<HTMLFormElement> form(mForm);
presShell->HandleDOMEventWithTarget(mForm, &event, &status);
presShell->HandleDOMEventWithTarget(form, &event, &status);
aVisitor.mEventStatus = nsEventStatus_eConsumeNoDefault;
}
}