Bug 1695636 - Part 1: Remove nsresult return value from HTMLInputElement::MaybeSubmitForm; r=masayuki

Differential Revision: https://phabricator.services.mozilla.com/D135226
This commit is contained in:
Edgar Chen
2022-01-12 14:24:01 +00:00
parent 9b9503991f
commit e28e8ef0c3
2 changed files with 5 additions and 8 deletions

View File

@@ -1000,7 +1000,7 @@ class HTMLInputElement final : public TextControlElement,
* MaybeSubmitForm looks for a submit input or a single text control
* and submits the form if either is present.
*/
MOZ_CAN_RUN_SCRIPT nsresult MaybeSubmitForm(nsPresContext* aPresContext);
MOZ_CAN_RUN_SCRIPT void MaybeSubmitForm(nsPresContext* aPresContext);
/**
* Update mFileList with the currently selected file.