1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

LibJS: Remove an unused TypedArray constructor

This commit is contained in:
Andreas Kling 2021-01-25 23:23:33 +01:00
parent 5978424cf9
commit f3f2d77624

View file

@ -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)
{