1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +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:
Aliaksandr Kalenik 2023-12-16 14:06:47 +01:00 committed by Alexander Kalenik
parent 55c483b763
commit f361b8c000
5 changed files with 10 additions and 10 deletions

View file

@ -117,7 +117,7 @@ ScopedCornerRadiusClip::ScopedCornerRadiusClip(PaintContext& context, DevicePixe
.bottom_right = border_radii.bottom_right.as_corner(context),
.bottom_left = border_radii.bottom_left.as_corner(context)
};
m_context.recording_painter().sample_under_corners(m_id, corner_radii, context.recording_painter().state().translation.map(border_rect.to_type<int>()), corner_clip);
m_context.recording_painter().sample_under_corners(m_id, corner_radii, border_rect.to_type<int>(), corner_clip);
}
ScopedCornerRadiusClip::~ScopedCornerRadiusClip()