mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-29 15:58:47 +00:00
LibWeb: Use FlyString for create_element() prefix strings
This commit is contained in:
parent
e169d99bec
commit
8f82bd044b
Notes:
sideshowbarker
2024-07-17 05:02:42 +09:00
Author: https://github.com/awesomekling
Commit: 8f82bd044b
9 changed files with 16 additions and 19 deletions
|
@ -502,7 +502,7 @@ class PlaceholderElement final : public HTMLDivElement {
|
|||
|
||||
public:
|
||||
PlaceholderElement(DOM::Document& document)
|
||||
: HTMLDivElement(document, DOM::QualifiedName { HTML::TagNames::div, ""sv, Namespace::HTML })
|
||||
: HTMLDivElement(document, DOM::QualifiedName { HTML::TagNames::div, ""_fly_string, Namespace::HTML })
|
||||
{
|
||||
}
|
||||
virtual Optional<CSS::Selector::PseudoElement> pseudo_element() const override { return CSS::Selector::PseudoElement::Placeholder; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue