Bug 1418077 - Remove nsIDOMHTMLFormElement. r=bz

MozReview-Commit-ID: 9eQxvfIMB22
This commit is contained in:
Adrian Wielgosik
2018-03-14 21:42:25 +01:00
parent cdf44da1e4
commit 975ac50d53
20 changed files with 31 additions and 77 deletions

View File

@@ -859,7 +859,7 @@ HTMLImageElement::WrapNode(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
}
#ifdef DEBUG
nsIDOMHTMLFormElement*
HTMLFormElement*
HTMLImageElement::GetForm() const
{
return mForm;
@@ -867,13 +867,13 @@ HTMLImageElement::GetForm() const
#endif
void
HTMLImageElement::SetForm(nsIDOMHTMLFormElement* aForm)
HTMLImageElement::SetForm(HTMLFormElement* aForm)
{
NS_PRECONDITION(aForm, "Don't pass null here");
NS_ASSERTION(!mForm,
"We don't support switching from one non-null form to another.");
mForm = static_cast<HTMLFormElement*>(aForm);
mForm = aForm;
}
void