mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
LibWeb: Rename painter to recorder in DisplayListRecorderStateSaver
This commit is contained in:
parent
aea9136239
commit
b1c5026b81
Notes:
github-actions[bot]
2025-08-01 09:27:15 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: b1c5026b81
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5669
Reviewed-by: https://github.com/gmta
1 changed files with 5 additions and 5 deletions
|
@ -169,19 +169,19 @@ private:
|
|||
|
||||
class DisplayListRecorderStateSaver {
|
||||
public:
|
||||
explicit DisplayListRecorderStateSaver(DisplayListRecorder& painter)
|
||||
: m_painter(painter)
|
||||
explicit DisplayListRecorderStateSaver(DisplayListRecorder& recorder)
|
||||
: m_recorder(recorder)
|
||||
{
|
||||
m_painter.save();
|
||||
m_recorder.save();
|
||||
}
|
||||
|
||||
~DisplayListRecorderStateSaver()
|
||||
{
|
||||
m_painter.restore();
|
||||
m_recorder.restore();
|
||||
}
|
||||
|
||||
private:
|
||||
DisplayListRecorder& m_painter;
|
||||
DisplayListRecorder& m_recorder;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue