Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
This commit is contained in:
@@ -29,7 +29,7 @@ HTMLFormControlsCollection::ShouldBeInElements(nsIFormControl* aFormControl)
|
||||
// <input type=image> elements to the list of form controls in a
|
||||
// form.
|
||||
|
||||
switch (aFormControl->GetType()) {
|
||||
switch (aFormControl->ControlType()) {
|
||||
case NS_FORM_BUTTON_BUTTON :
|
||||
case NS_FORM_BUTTON_RESET :
|
||||
case NS_FORM_BUTTON_SUBMIT :
|
||||
|
||||
Reference in New Issue
Block a user