Bug 1729343 - Use CamelCase in HTMLInputElement::FromClone. r=smaug

That's what the code style asks for. All-lowercase is unseen elsewhere afaict.

Differential Revision: https://phabricator.services.mozilla.com/D124689
This commit is contained in:
Emilio Cobos Álvarez
2021-09-07 08:25:38 +00:00
parent f39aa2e77b
commit eeb8eefef9
2 changed files with 4 additions and 4 deletions

View File

@@ -957,7 +957,7 @@ HTMLInputElement::HTMLInputElement(
mHandlingSelectEvent(false),
mShouldInitChecked(false),
mDoneCreating(aFromParser == NOT_FROM_PARSER &&
aFromClone == FromClone::no),
aFromClone == FromClone::No),
mInInternalActivate(false),
mCheckedIsToggled(false),
mIndeterminate(false),
@@ -1076,7 +1076,7 @@ nsresult HTMLInputElement::Clone(dom::NodeInfo* aNodeInfo,
*aResult = nullptr;
RefPtr<HTMLInputElement> it = new (aNodeInfo->NodeInfoManager())
HTMLInputElement(do_AddRef(aNodeInfo), NOT_FROM_PARSER, FromClone::yes);
HTMLInputElement(do_AddRef(aNodeInfo), NOT_FROM_PARSER, FromClone::Yes);
nsresult rv = const_cast<HTMLInputElement*>(this)->CopyInnerTo(it);
NS_ENSURE_SUCCESS(rv, rv);