mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
LibHTML: RenderingContext should keep the Palette alive
We were lugging around a reference to a temporary here.
This commit is contained in:
parent
985d906189
commit
ffbe975ffc
1 changed files with 1 additions and 1 deletions
|
@ -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 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue