LibHTML: RenderingContext should keep the Palette alive

We were lugging around a reference to a temporary here.
This commit is contained in:
Andreas Kling 2019-12-29 12:01:24 +01:00
commit ffbe975ffc
Notes: sideshowbarker 2024-07-19 10:34:13 +09:00

View file

@ -24,7 +24,7 @@ public:
private:
GPainter& m_painter;
const Palette& m_palette;
Palette m_palette;
Rect m_viewport_rect;
bool m_should_show_line_box_borders { false };
};