Files
ladybird/Libraries/LibWeb/SVG/SVGDecodedImageData.cpp
Andreas Kling 395a126110 LibWeb: Use cached bitmap in SVGDecodedImageData::paint()
Use the existing bitmap() method which caches the ImmutableBitmap,
instead of creating a fresh snapshot from the painting surface on
every paint call.

This was regressed by d9e04ec9e8 which replaced draw_painting_surface
with a per-call snapshot to remove the DrawPaintingSurface dependency,
but didn't use the existing bitmap cache.
2026-02-22 14:22:51 +01:00

8.5 KiB