diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-08 19:23:00 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-09 23:00:24 +0000 |
commit | f3db548a3d068c051c4d6eba970b89422a6b9522 (patch) | |
tree | df8846e5699175b425ca8d07b7b6350c0a04dcf7 /Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp | |
parent | 2eacc7aec1b2b1cc5a491727baa75817ca819bc5 (diff) | |
download | serenity-f3db548a3d068c051c4d6eba970b89422a6b9522.zip |
AK+Everywhere: Rename FlyString to DeprecatedFlyString
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so
let's rename it to A) match the name of DeprecatedString, B) write a new
FlyString class that is tied to String.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp index ae20f490aa..3c20012d63 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp @@ -404,7 +404,7 @@ void HTMLInputElement::did_receive_focus() browsing_context->set_cursor_position(DOM::Position { *m_text_node, 0 }); } -void HTMLInputElement::parse_attribute(FlyString const& name, DeprecatedString const& value) +void HTMLInputElement::parse_attribute(DeprecatedFlyString const& name, DeprecatedString const& value) { HTMLElement::parse_attribute(name, value); if (name == HTML::AttributeNames::checked) { @@ -434,7 +434,7 @@ HTMLInputElement::TypeAttributeState HTMLInputElement::parse_type_attribute(Stri return HTMLInputElement::TypeAttributeState::Text; } -void HTMLInputElement::did_remove_attribute(FlyString const& name) +void HTMLInputElement::did_remove_attribute(DeprecatedFlyString const& name) { HTMLElement::did_remove_attribute(name); if (name == HTML::AttributeNames::checked) { @@ -866,7 +866,7 @@ WebIDL::ExceptionOr<void> HTMLInputElement::set_selection_range(u32 start, u32 e return {}; } -FlyString HTMLInputElement::default_role() const +DeprecatedFlyString HTMLInputElement::default_role() const { // https://www.w3.org/TR/html-aria/#el-input-button if (type_state() == TypeAttributeState::Button) |