summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-01-08 19:23:00 -0500
committerLinus Groh <mail@linusgroh.de>2023-01-09 23:00:24 +0000
commitf3db548a3d068c051c4d6eba970b89422a6b9522 (patch)
treedf8846e5699175b425ca8d07b7b6350c0a04dcf7 /Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
parent2eacc7aec1b2b1cc5a491727baa75817ca819bc5 (diff)
downloadserenity-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/HTMLElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLElement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
index 27c5447f87..35a146ac07 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
@@ -232,7 +232,7 @@ bool HTMLElement::cannot_navigate() const
return !is<HTML::HTMLAnchorElement>(this) && !is_connected();
}
-void HTMLElement::parse_attribute(FlyString const& name, DeprecatedString const& value)
+void HTMLElement::parse_attribute(DeprecatedFlyString const& name, DeprecatedString const& value)
{
Element::parse_attribute(name, value);
@@ -270,7 +270,7 @@ void HTMLElement::focus()
}
// https://html.spec.whatwg.org/multipage/webappapis.html#fire-a-synthetic-pointer-event
-bool HTMLElement::fire_a_synthetic_pointer_event(FlyString const& type, DOM::Element& target, bool not_trusted)
+bool HTMLElement::fire_a_synthetic_pointer_event(DeprecatedFlyString const& type, DOM::Element& target, bool not_trusted)
{
// 1. Let event be the result of creating an event using PointerEvent.
// 2. Initialize event's type attribute to e.
@@ -328,7 +328,7 @@ void HTMLElement::blur()
// User agents may selectively or uniformly ignore calls to this method for usability reasons.
}
-FlyString HTMLElement::default_role() const
+DeprecatedFlyString HTMLElement::default_role() const
{
// https://www.w3.org/TR/html-aria/#el-article
if (local_name() == TagNames::article)