mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
LibWeb: Make MutationRecord GC-allocated
This commit is contained in:
parent
48e0066371
commit
43ec0f734f
9 changed files with 72 additions and 71 deletions
|
@ -108,7 +108,7 @@ void MutationObserver::disconnect()
|
|||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-mutationobserver-takerecords
|
||||
NonnullRefPtrVector<MutationRecord> MutationObserver::take_records()
|
||||
Vector<JS::Handle<MutationRecord>> MutationObserver::take_records()
|
||||
{
|
||||
// 1. Let records be a clone of this’s record queue.
|
||||
auto records = m_record_queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue