diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ArrayBuffer.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/ArrayBuffer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ArrayBuffer.h b/Userland/Libraries/LibJS/Runtime/ArrayBuffer.h index e8d17c3240..1be0de1c1c 100644 --- a/Userland/Libraries/LibJS/Runtime/ArrayBuffer.h +++ b/Userland/Libraries/LibJS/Runtime/ArrayBuffer.h @@ -25,9 +25,9 @@ class ArrayBuffer : public Object { JS_OBJECT(ArrayBuffer, Object); public: - static ThrowCompletionOr<ArrayBuffer*> create(GlobalObject&, size_t); - static ArrayBuffer* create(GlobalObject&, ByteBuffer); - static ArrayBuffer* create(GlobalObject&, ByteBuffer*); + static ThrowCompletionOr<ArrayBuffer*> create(Realm&, size_t); + static ArrayBuffer* create(Realm&, ByteBuffer); + static ArrayBuffer* create(Realm&, ByteBuffer*); ArrayBuffer(ByteBuffer buffer, Object& prototype); ArrayBuffer(ByteBuffer* buffer, Object& prototype); |