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

LibWeb: Use FlyString for element attribute names

Attribute names occur again and again.
This commit is contained in:
Andreas Kling 2020-03-22 13:10:04 +01:00
parent 26bc3d4ea0
commit 7f83f77377
6 changed files with 19 additions and 18 deletions

View file

@ -35,7 +35,7 @@ public:
HTMLBodyElement(Document&, const String& tag_name);
virtual ~HTMLBodyElement() override;
virtual void parse_attribute(const String&, const String&) override;
virtual void parse_attribute(const FlyString&, const String&) override;
virtual void apply_presentational_hints(StyleProperties&) const override;
private: