mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:07:43 +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:
|
private:
|
||||||
GPainter& m_painter;
|
GPainter& m_painter;
|
||||||
const Palette& m_palette;
|
Palette m_palette;
|
||||||
Rect m_viewport_rect;
|
Rect m_viewport_rect;
|
||||||
bool m_should_show_line_box_borders { false };
|
bool m_should_show_line_box_borders { false };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue