LibWeb: Rename painter to recorder in DisplayListRecorderStateSaver

This commit is contained in:
Aliaksandr Kalenik 2025-08-01 04:59:06 +02:00 committed by Alexander Kalenik
commit b1c5026b81
Notes: github-actions[bot] 2025-08-01 09:27:15 +00:00

View file

@ -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;
}; };
} }