mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Don't copy Tokens twice on StyleBlockRule initialization
This commit is contained in:
parent
6e921ae304
commit
6119783027
Notes:
sideshowbarker
2024-07-17 17:00:41 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 6119783027
Pull-request: https://github.com/SerenityOS/serenity/pull/13030
Reviewed-by: https://github.com/AtkinsSJ ✅
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