1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 08:45:09 +00:00

LibHTML: Add document icon in DOMTreeModel and keep document alive

This commit is contained in:
Andreas Kling 2019-11-09 11:58:20 +01:00
parent 29b2117564
commit 7fcb21c935
2 changed files with 7 additions and 4 deletions

View file

@ -23,8 +23,9 @@ public:
private:
explicit DOMTreeModel(Document&);
Document& m_document;
NonnullRefPtr<Document> m_document;
GIcon m_document_icon;
GIcon m_element_icon;
GIcon m_text_icon;
};