mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Rename m_command_list to m_display_list in DisplayListRecorder
This commit is contained in:
parent
b265618bfb
commit
7d90d9d0a3
|
|
@ -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…
Reference in New Issue
Block a user