Bug 1715134 - Make form control type an enum class. r=masayuki

Differential Revision: https://phabricator.services.mozilla.com/D117087
This commit is contained in:
Emilio Cobos Álvarez
2021-06-08 09:43:59 +00:00
parent 80844dfd42
commit 3daca083b1
32 changed files with 691 additions and 641 deletions

View File

@@ -50,7 +50,8 @@ namespace mozilla::dom {
HTMLTextAreaElement::HTMLTextAreaElement(
already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo,
FromParser aFromParser)
: TextControlElement(std::move(aNodeInfo), aFromParser, NS_FORM_TEXTAREA),
: TextControlElement(std::move(aNodeInfo), aFromParser,
FormControlType::Textarea),
mValueChanged(false),
mLastValueChangeWasInteractive(false),
mHandlingSelect(false),