diff options
Diffstat (limited to 'Libraries/LibWeb/DOM/Text.h')
-rw-r--r-- | Libraries/LibWeb/DOM/Text.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibWeb/DOM/Text.h b/Libraries/LibWeb/DOM/Text.h index 5a482ed6a0..f3da78baae 100644 --- a/Libraries/LibWeb/DOM/Text.h +++ b/Libraries/LibWeb/DOM/Text.h @@ -26,6 +26,7 @@ #pragma once +#include <AK/FlyString.h> #include <AK/String.h> #include <LibWeb/DOM/CharacterData.h> @@ -36,7 +37,7 @@ public: explicit Text(Document&, const String&); virtual ~Text() override; - virtual String tag_name() const override { return "#text"; } + virtual FlyString tag_name() const override { return "#text"; } private: virtual RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override; |