summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-12-13 20:49:49 +0000
committerLinus Groh <mail@linusgroh.de>2022-12-14 09:59:45 +0000
commit91b0123eaf16afd8a36c3603535860385e75bd81 (patch)
tree9b54cd78d322346f9786900ddb9ceefb0b0fd815 /Userland/Libraries/LibWeb/Bindings
parent0c50751c134385d690e436249b79e3ddf74ee369 (diff)
downloadserenity-91b0123eaf16afd8a36c3603535860385e75bd81.zip
LibJS: Convert Array::create{,_from}() to NonnullGCPtr
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp b/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp
index c57622217e..b3335506dd 100644
--- a/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp
+++ b/Userland/Libraries/LibWeb/Bindings/MainThreadVM.cpp
@@ -443,7 +443,7 @@ void queue_mutation_observer_microtask(DOM::Document& document)
auto& callback = mutation_observer->callback();
auto& realm = callback.callback_context.realm();
- auto* wrapped_records = MUST(JS::Array::create(realm, 0));
+ auto wrapped_records = MUST(JS::Array::create(realm, 0));
for (size_t i = 0; i < records.size(); ++i) {
auto& record = records.at(i);
auto property_index = JS::PropertyKey { i };