mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 06:06:48 +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 {
|
class DisplayListRecorderStateSaver {
|
||||||
public:
|
public:
|
||||||
explicit DisplayListRecorderStateSaver(DisplayListRecorder& painter)
|
explicit DisplayListRecorderStateSaver(DisplayListRecorder& recorder)
|
||||||
: m_painter(painter)
|
: m_recorder(recorder)
|
||||||
{
|
{
|
||||||
m_painter.save();
|
m_recorder.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
~DisplayListRecorderStateSaver()
|
~DisplayListRecorderStateSaver()
|
||||||
{
|
{
|
||||||
m_painter.restore();
|
m_recorder.restore();
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DisplayListRecorder& m_painter;
|
DisplayListRecorder& m_recorder;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue