mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibWeb: Use FlyString for element attribute names
Attribute names occur again and again.
This commit is contained in:
@@ -43,7 +43,7 @@ HTMLImageElement::~HTMLImageElement()
|
||||
{
|
||||
}
|
||||
|
||||
void HTMLImageElement::parse_attribute(const String& name, const String& value)
|
||||
void HTMLImageElement::parse_attribute(const FlyString& name, const String& value)
|
||||
{
|
||||
if (name.equals_ignoring_case("src"))
|
||||
load_image(value);
|
||||
|
||||
Reference in New Issue
Block a user