mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
LibJS: Convert ArrayBuffer::create() to NonnullGCPtr
This commit is contained in:
parent
91b0123eaf
commit
947ea92bf6
7 changed files with 15 additions and 15 deletions
|
@ -25,9 +25,9 @@ class ArrayBuffer : public Object {
|
|||
JS_OBJECT(ArrayBuffer, Object);
|
||||
|
||||
public:
|
||||
static ThrowCompletionOr<ArrayBuffer*> create(Realm&, size_t);
|
||||
static ArrayBuffer* create(Realm&, ByteBuffer);
|
||||
static ArrayBuffer* create(Realm&, ByteBuffer*);
|
||||
static ThrowCompletionOr<NonnullGCPtr<ArrayBuffer>> create(Realm&, size_t);
|
||||
static NonnullGCPtr<ArrayBuffer> create(Realm&, ByteBuffer);
|
||||
static NonnullGCPtr<ArrayBuffer> create(Realm&, ByteBuffer*);
|
||||
|
||||
virtual ~ArrayBuffer() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue