1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:17:35 +00:00

LibWeb: Move paint properties invalidation flag into Document

Move paint-only properties invalidation flag to Document for
consistency, as style and layout invalidation flags are already
managed there.
This commit is contained in:
Aliaksandr Kalenik 2024-02-08 17:23:14 +01:00 committed by Andreas Kling
parent 9bccb8c8d7
commit fc40d35012
5 changed files with 19 additions and 14 deletions

View file

@ -180,8 +180,6 @@ public:
};
void paint(Painting::RecordingPainter&, PaintConfig);
void set_needs_to_resolve_paint_only_properties() { m_needs_to_resolve_paint_only_properties = true; }
protected:
Navigable();
@ -223,8 +221,6 @@ private:
CSSPixelSize m_size;
CSSPixelPoint m_viewport_scroll_offset;
bool m_needs_to_resolve_paint_only_properties { true };
};
HashTable<Navigable*>& all_navigables();