summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/HTMLBlinkElement.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-22 19:10:43 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-22 19:12:10 +0100
commit7309642ca88a04c1039ce5bb312aa32687abfe9c (patch)
tree5507dcf67b5287c2cc83f6f022e5c51622764436 /Libraries/LibWeb/DOM/HTMLBlinkElement.cpp
parentc4a6d6ae9fc1cf80109215b41cda976f43d2ed95 (diff)
downloadserenity-7309642ca88a04c1039ce5bb312aa32687abfe9c.zip
LibWeb: Use FlyString for Element tag names
This makes selector matching a lot more efficient, and also reduces the number of strings on the heap.
Diffstat (limited to 'Libraries/LibWeb/DOM/HTMLBlinkElement.cpp')
-rw-r--r--Libraries/LibWeb/DOM/HTMLBlinkElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/DOM/HTMLBlinkElement.cpp b/Libraries/LibWeb/DOM/HTMLBlinkElement.cpp
index 51f8d96642..f1ffb40238 100644
--- a/Libraries/LibWeb/DOM/HTMLBlinkElement.cpp
+++ b/Libraries/LibWeb/DOM/HTMLBlinkElement.cpp
@@ -32,7 +32,7 @@
namespace Web {
-HTMLBlinkElement::HTMLBlinkElement(Document& document, const String& tag_name)
+HTMLBlinkElement::HTMLBlinkElement(Document& document, const FlyString& tag_name)
: HTMLElement(document, tag_name)
, m_timer(Core::Timer::construct())
{