mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
LibJS: Remove an unused TypedArray constructor
This commit is contained in:
parent
5978424cf9
commit
f3f2d77624
1 changed files with 0 additions and 8 deletions
|
@ -121,14 +121,6 @@ public:
|
||||||
virtual size_t element_size() const override { return sizeof(T); };
|
virtual size_t element_size() const override { return sizeof(T); };
|
||||||
|
|
||||||
protected:
|
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)
|
TypedArray(u32 array_length, Object& prototype)
|
||||||
: TypedArrayBase(prototype)
|
: TypedArrayBase(prototype)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue