mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibWeb: Add const qualified BufferableObjectBase::raw_object
This commit is contained in:
parent
67b1f4af55
commit
848d6f5074
Notes:
sideshowbarker
2024-07-17 06:28:38 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/848d6f5074 Pull-request: https://github.com/SerenityOS/serenity/pull/24448
1 changed files with 2 additions and 0 deletions
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue