diff --git a/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp b/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp index 5c1dd77e18..a493b81fa6 100644 --- a/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp +++ b/Userland/Libraries/LibWeb/Painting/VideoPaintable.cpp @@ -61,6 +61,8 @@ void VideoPaintable::paint(PaintContext& context, PaintPhase phase) const if (phase != PaintPhase::Foreground) return; + Gfx::PainterStateSaver saver { context.painter() }; + auto video_rect = context.rounded_device_rect(absolute_rect()); context.painter().add_clip_rect(video_rect.to_type());