mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Rename m_command_list to m_display_list in DisplayListRecorder
This commit is contained in:
parent
b265618bfb
commit
7d90d9d0a3
Notes:
github-actions[bot]
2025-08-01 09:27:35 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 7d90d9d0a3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5669
Reviewed-by: https://github.com/gmta
2 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
|||
namespace Web::Painting {
|
||||
|
||||
DisplayListRecorder::DisplayListRecorder(DisplayList& command_list)
|
||||
: m_command_list(command_list)
|
||||
: m_display_list(command_list)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,7 @@ DisplayListRecorder::~DisplayListRecorder() = default;
|
|||
RefPtr<ClipFrame const> _clip_frame; \
|
||||
if (!m_clip_frame_stack.is_empty()) \
|
||||
_clip_frame = m_clip_frame_stack.last(); \
|
||||
m_command_list.append(__VA_ARGS__, _scroll_frame_id, _clip_frame); \
|
||||
m_display_list.append(__VA_ARGS__, _scroll_frame_id, _clip_frame); \
|
||||
} while (false)
|
||||
|
||||
void DisplayListRecorder::paint_nested_display_list(RefPtr<DisplayList> display_list, Gfx::IntRect rect)
|
||||
|
|
|
@ -157,14 +157,14 @@ public:
|
|||
DisplayListRecorder(DisplayList&);
|
||||
~DisplayListRecorder();
|
||||
|
||||
DisplayList const& display_list() const { return m_command_list; }
|
||||
DisplayList const& display_list() const { return m_display_list; }
|
||||
|
||||
int m_save_nesting_level { 0 };
|
||||
|
||||
private:
|
||||
Vector<Optional<i32>> m_scroll_frame_id_stack;
|
||||
Vector<RefPtr<ClipFrame const>> m_clip_frame_stack;
|
||||
DisplayList& m_command_list;
|
||||
DisplayList& m_display_list;
|
||||
};
|
||||
|
||||
class DisplayListRecorderStateSaver {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue