diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-25 23:23:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-25 23:23:33 +0100 |
commit | f3f2d776246d61fe916ba11487221c603965ba2d (patch) | |
tree | 60c3bbc78003f1000b7c1c870d1f1f38bc49be42 /Userland/Libraries/LibJS/Runtime | |
parent | 5978424cf9e48f95db2d00fecd7bac6b90979172 (diff) | |
download | serenity-f3f2d776246d61fe916ba11487221c603965ba2d.zip |
LibJS: Remove an unused TypedArray constructor
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/TypedArray.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/TypedArray.h b/Userland/Libraries/LibJS/Runtime/TypedArray.h index 330e85a9ba..4e29ef6fd6 100644 --- a/Userland/Libraries/LibJS/Runtime/TypedArray.h +++ b/Userland/Libraries/LibJS/Runtime/TypedArray.h @@ -121,14 +121,6 @@ public: virtual size_t element_size() const override { return sizeof(T); }; protected: - TypedArray(ArrayBuffer& array_buffer, u32 array_length, Object& prototype) - : TypedArrayBase(prototype) - { - m_viewed_array_buffer = &array_buffer; - m_array_length = array_length; - m_byte_length = m_viewed_array_buffer->byte_length(); - } - TypedArray(u32 array_length, Object& prototype) : TypedArrayBase(prototype) { |