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:
parent
6e921ae304
commit
6119783027
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue