From 61197830272d90a4cd7eb42ecee42bf5ba1a3190 Mon Sep 17 00:00:00 2001 From: Hendiadyoin1 Date: Sun, 13 Mar 2022 17:14:06 +0100 Subject: [PATCH] LibWeb: Don't copy Tokens twice on StyleBlockRule initialization --- Userland/Libraries/LibWeb/CSS/Parser/StyleBlockRule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/CSS/Parser/StyleBlockRule.h b/Userland/Libraries/LibWeb/CSS/Parser/StyleBlockRule.h index 43ddecff81..86d9ad5fac 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/StyleBlockRule.h +++ b/Userland/Libraries/LibWeb/CSS/Parser/StyleBlockRule.h @@ -20,7 +20,7 @@ class StyleBlockRule : public RefCounted { public: StyleBlockRule(); explicit StyleBlockRule(Token token, Vector&& values) - : m_token(token) + : m_token(move(token)) , m_values(move(values)) { }