1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 01:30:46 +00:00

LibWeb: Avoid copying commands in RecordingPainter

This commit is contained in:
Aliaksandr Kalenik 2023-12-30 20:14:54 +01:00 committed by Andreas Kling
parent 4ee3090a7d
commit 97f676dbf2

View File

@ -615,7 +615,7 @@ private:
void push_command(PaintingCommand command) 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 { struct PaintingCommandWithScrollFrame {