LibWeb: Make HTMLCollection and subclasses GC-allocated

This commit is contained in:
Andreas Kling
2022-09-01 20:50:16 +02:00
parent 4c887bf6c3
commit 2bba97964b
Notes: sideshowbarker 2024-07-17 07:43:05 +09:00
22 changed files with 115 additions and 85 deletions

View File

@@ -28,7 +28,7 @@ public:
void add_associated_element(Badge<FormAssociatedElement>, HTMLElement&);
void remove_associated_element(Badge<FormAssociatedElement>, HTMLElement&);
NonnullRefPtr<DOM::HTMLCollection> elements() const;
JS::NonnullGCPtr<DOM::HTMLCollection> elements() const;
unsigned length() const;
private: