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:
parent
55c483b763
commit
f361b8c000
5 changed files with 10 additions and 10 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue