1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibJS: Convert DataView::create() to NonnullGCPtr

This commit is contained in:
Linus Groh 2022-12-13 20:49:50 +00:00
parent efbd8ee072
commit 0eeb3164fa
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ class DataView : public Object {
JS_OBJECT(DataView, Object);
public:
static DataView* create(Realm&, ArrayBuffer*, size_t byte_length, size_t byte_offset);
static NonnullGCPtr<DataView> create(Realm&, ArrayBuffer*, size_t byte_length, size_t byte_offset);
virtual ~DataView() override = default;