mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:55:08 +00:00
LibJS+LibWeb: Add missing JS_DEFINE_ALLOCATOR() for a bunch of classes
This commit is contained in:
parent
11c968fa1f
commit
f4fa37afd2
15 changed files with 25 additions and 3 deletions
|
@ -11,6 +11,8 @@
|
|||
|
||||
namespace Web::FileAPI {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(FileList);
|
||||
|
||||
JS::NonnullGCPtr<FileList> FileList::create(JS::Realm& realm, Vector<JS::NonnullGCPtr<File>>&& files)
|
||||
{
|
||||
return realm.heap().allocate<FileList>(realm, realm, move(files));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue