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

LibWeb: Don't copy Tokens twice on StyleBlockRule initialization

This commit is contained in:
Hendiadyoin1 2022-03-13 17:14:06 +01:00 committed by Andreas Kling
parent 6e921ae304
commit 6119783027

View file

@ -20,7 +20,7 @@ class StyleBlockRule : public RefCounted<StyleBlockRule> {
public:
StyleBlockRule();
explicit StyleBlockRule(Token token, Vector<StyleComponentValueRule>&& values)
: m_token(token)
: m_token(move(token))
, m_values(move(values))
{
}