mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibGC+Everywhere: Factor out a LibGC from LibJS
Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
This commit is contained in:
committed by
Andreas Kling
parent
ce23efc5f6
commit
f87041bf3a
@@ -17,7 +17,7 @@ namespace Web::HTML {
|
||||
|
||||
class HTMLDetailsElement final : public HTMLElement {
|
||||
WEB_PLATFORM_OBJECT(HTMLDetailsElement, HTMLElement);
|
||||
JS_DECLARE_ALLOCATOR(HTMLDetailsElement);
|
||||
GC_DECLARE_ALLOCATOR(HTMLDetailsElement);
|
||||
|
||||
public:
|
||||
virtual ~HTMLDetailsElement() override;
|
||||
@@ -45,8 +45,8 @@ private:
|
||||
// https://html.spec.whatwg.org/multipage/interactive-elements.html#details-toggle-task-tracker
|
||||
Optional<ToggleTaskTracker> m_details_toggle_task_tracker;
|
||||
|
||||
JS::GCPtr<HTML::HTMLSlotElement> m_summary_slot;
|
||||
JS::GCPtr<HTML::HTMLSlotElement> m_descendants_slot;
|
||||
GC::Ptr<HTML::HTMLSlotElement> m_summary_slot;
|
||||
GC::Ptr<HTML::HTMLSlotElement> m_descendants_slot;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user