mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Avoid copying commands in RecordingPainter
This commit is contained in:
committed by
Andreas Kling
parent
4ee3090a7d
commit
97f676dbf2
@@ -615,7 +615,7 @@ private:
|
||||
|
||||
void push_command(PaintingCommand command)
|
||||
{
|
||||
m_painting_commands.append({ state().scroll_frame_id, command });
|
||||
m_painting_commands.append({ state().scroll_frame_id, move(command) });
|
||||
}
|
||||
|
||||
struct PaintingCommandWithScrollFrame {
|
||||
|
||||
Reference in New Issue
Block a user