mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWeb: Rename Navigable::paint() to record_painting_commands()
This method does not paint, but only records painting commands that could be passed to painting commands executor, which will perform actual painting.
This commit is contained in:
committed by
Alexander Kalenik
parent
28927d6a0f
commit
c7133faf26
@@ -96,7 +96,7 @@ RefPtr<Gfx::Bitmap> SVGDecodedImageData::render(Gfx::IntSize size) const
|
||||
Painting::RecordingPainter recording_painter(painting_commands);
|
||||
Painting::CommandExecutorCPU executor { *bitmap };
|
||||
|
||||
m_document->navigable()->paint(recording_painter, {});
|
||||
m_document->navigable()->record_painting_commands(recording_painter, {});
|
||||
painting_commands.execute(executor);
|
||||
|
||||
return bitmap;
|
||||
|
||||
Reference in New Issue
Block a user