mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
LibWeb: Make StyleSheetList GC-allocated
This commit is contained in:
parent
5d60212076
commit
5366924f11
Notes:
sideshowbarker
2024-07-17 20:58:35 +09:00
Author: https://github.com/awesomekling
Commit: 5366924f11
Pull-request: https://github.com/SerenityOS/serenity/pull/14816
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/linusg ✅
14 changed files with 68 additions and 37 deletions
|
@ -49,10 +49,9 @@ public:
|
|||
|
||||
protected:
|
||||
explicit StyleSheet(Bindings::WindowObject&);
|
||||
|
||||
private:
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
private:
|
||||
WeakPtr<DOM::Element> m_owner_node;
|
||||
|
||||
CSSStyleSheet* m_parent_style_sheet { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue