LibWeb: Move HTMLToken in HTMLDocumentParser

This replaces a copy construction of an HTMLToken with a move(). This
allows HTMLToken to be made non-copyable in a further commit.
This commit is contained in:
Max Wipfli 2021-07-15 22:23:45 +02:00 committed by Ali Mohammad Pur
parent b6e995ca3c
commit 7eb294df0d
Notes: sideshowbarker 2024-07-18 08:52:32 +09:00

View file

@ -2103,7 +2103,7 @@ void HTMLDocumentParser::handle_in_table_text(HTMLToken& token)
return;
}
m_pending_table_character_tokens.append(token);
m_pending_table_character_tokens.append(move(token));
return;
}