mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
LibWeb: Make private RecordingPainter::state()
Removes usage of `RecordingPainter::state()` and makes it private. No behavior change intended.
This commit is contained in:
parent
55c483b763
commit
f361b8c000
5 changed files with 10 additions and 10 deletions
|
@ -498,6 +498,7 @@ public:
|
|||
m_state_stack.append(State());
|
||||
}
|
||||
|
||||
private:
|
||||
struct State {
|
||||
Gfx::AffineTransform translation;
|
||||
Optional<Gfx::IntRect> clip_rect;
|
||||
|
@ -505,7 +506,6 @@ public:
|
|||
State& state() { return m_state_stack.last(); }
|
||||
State const& state() const { return m_state_stack.last(); }
|
||||
|
||||
private:
|
||||
void push_command(PaintingCommand command)
|
||||
{
|
||||
m_painting_commands.append(command);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue