mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
LibWeb: Move SVGElement's dataset construction to initialize()
It's not safe to allocate new cells while in a cell constructor.
This commit is contained in:
parent
055dabc123
commit
0f4b82bdea
2 changed files with 7 additions and 3 deletions
|
@ -25,7 +25,7 @@ protected:
|
|||
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
JS::NonnullGCPtr<HTML::DOMStringMap> m_dataset;
|
||||
JS::GCPtr<HTML::DOMStringMap> m_dataset;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue