mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
Everywhere: Remove DeprecatedFlyString + any remaining references to it
This commit is contained in:
parent
aab3fbe254
commit
3131e6369f
Notes:
github-actions[bot]
2025-04-01 10:50:54 +00:00
Author: https://github.com/kennethmyhra
Commit: 3131e6369f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4153
23 changed files with 13 additions and 298 deletions
|
@ -2100,7 +2100,7 @@ WebIDL::ExceptionOr<GC::Ref<Element>> Document::create_element(String const& a_l
|
|||
namespace_ = Namespace::HTML;
|
||||
|
||||
// 6. Return the result of creating an element given this, localName, namespace, null, is, and with the synchronous custom elements flag set.
|
||||
return TRY(DOM::create_element(*this, MUST(FlyString::from_deprecated_fly_string(local_name)), move(namespace_), {}, move(is_value), true));
|
||||
return TRY(DOM::create_element(*this, FlyString::from_utf8_without_validation(local_name.bytes()), move(namespace_), {}, move(is_value), true));
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-document-createelementns
|
||||
|
|
|
@ -2206,7 +2206,7 @@ GC::Ref<Node> Node::get_root_node(GetRootNodeOptions const& options)
|
|||
String Node::debug_description() const
|
||||
{
|
||||
StringBuilder builder;
|
||||
builder.append(node_name().to_deprecated_fly_string().to_lowercase());
|
||||
builder.append(node_name().to_ascii_lowercase());
|
||||
if (is_element()) {
|
||||
auto const& element = static_cast<DOM::Element const&>(*this);
|
||||
if (element.id().has_value())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue