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
@@ -22,7 +22,7 @@ class HTMLTextAreaElement final
|
||||
: public HTMLElement
|
||||
, public FormAssociatedTextControlElement {
|
||||
WEB_PLATFORM_OBJECT(HTMLTextAreaElement, HTMLElement);
|
||||
JS_DECLARE_ALLOCATOR(HTMLTextAreaElement);
|
||||
GC_DECLARE_ALLOCATOR(HTMLTextAreaElement);
|
||||
FORM_ASSOCIATED_ELEMENT(HTMLElement, HTMLTextAreaElement)
|
||||
|
||||
public:
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
|
||||
// ^FormAssociatedTextControlElement
|
||||
virtual void did_edit_text_node() override;
|
||||
virtual JS::GCPtr<DOM::Text> form_associated_element_to_text_node() override { return m_text_node; }
|
||||
virtual GC::Ptr<DOM::Text> form_associated_element_to_text_node() override { return m_text_node; }
|
||||
|
||||
private:
|
||||
HTMLTextAreaElement(DOM::Document&, DOM::QualifiedName);
|
||||
@@ -146,11 +146,11 @@ private:
|
||||
|
||||
void update_placeholder_visibility();
|
||||
|
||||
JS::GCPtr<DOM::Element> m_placeholder_element;
|
||||
JS::GCPtr<DOM::Text> m_placeholder_text_node;
|
||||
GC::Ptr<DOM::Element> m_placeholder_element;
|
||||
GC::Ptr<DOM::Text> m_placeholder_text_node;
|
||||
|
||||
JS::GCPtr<DOM::Element> m_inner_text_element;
|
||||
JS::GCPtr<DOM::Text> m_text_node;
|
||||
GC::Ptr<DOM::Element> m_inner_text_element;
|
||||
GC::Ptr<DOM::Text> m_text_node;
|
||||
|
||||
RefPtr<Core::Timer> m_input_event_timer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user