1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibWeb: Add a non-DeprecatedString version of Element::prefix()

Renaming the old DeprecatedString version of this function to
deprecated_prefix().
This commit is contained in:
Shannon Booth 2023-10-01 17:15:57 +13:00 committed by Andreas Kling
parent e5e4920e66
commit ebe01b51c8
4 changed files with 6 additions and 4 deletions

View file

@ -83,7 +83,9 @@ public:
// NOTE: This is for the JS bindings
DeprecatedString const& tag_name() const { return html_uppercased_qualified_name(); }
DeprecatedFlyString prefix() const { return m_qualified_name.deprecated_prefix(); }
Optional<FlyString> const& prefix() const { return m_qualified_name.prefix(); }
DeprecatedFlyString deprecated_prefix() const { return m_qualified_name.deprecated_prefix(); }
void set_prefix(DeprecatedFlyString const& value);
DeprecatedFlyString namespace_() const { return m_qualified_name.deprecated_namespace_(); }