1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +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

@ -564,7 +564,7 @@ void paint_box_shadow(PaintContext& context,
.offset_y = offset_y,
.blur_radius = blur_radius,
.spread_distance = spread_distance,
.device_content_rect = context.recording_painter().state().translation.map(device_content_rect.to_type<int>()).to_type<DevicePixels>(),
.device_content_rect = device_content_rect,
};
if (box_shadow_data.placement == ShadowPlacement::Inner) {