LibWeb: Add const qualified BufferableObjectBase::raw_object

This commit is contained in:
Shannon Booth 2024-05-26 16:21:37 +12:00 committed by Andreas Kling
parent 67b1f4af55
commit 848d6f5074
Notes: sideshowbarker 2024-07-17 06:28:38 +09:00

View file

@ -29,6 +29,8 @@ public:
u32 byte_length() const;
JS::NonnullGCPtr<JS::Object> raw_object();
JS::NonnullGCPtr<JS::Object const> raw_object() const { return const_cast<BufferableObjectBase&>(*this).raw_object(); }
JS::GCPtr<JS::ArrayBuffer> viewed_array_buffer();
BufferableObject const& bufferable_object() const { return m_bufferable_object; }