mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:17:45 +00:00
LibWeb: Const qualify Web::Streams::ReadableStream::locked
This commit is contained in:
parent
42c102ecb6
commit
314eeeb9b2
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ ReadableStream::ReadableStream(JS::Realm& realm)
|
|||
ReadableStream::~ReadableStream() = default;
|
||||
|
||||
// https://streams.spec.whatwg.org/#rs-locked
|
||||
bool ReadableStream::locked()
|
||||
bool ReadableStream::locked() const
|
||||
{
|
||||
// 1. Return ! IsReadableStreamLocked(this).
|
||||
return is_readable_stream_locked(*this);
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
virtual ~ReadableStream() override;
|
||||
|
||||
bool locked();
|
||||
bool locked() const;
|
||||
WebIDL::ExceptionOr<JS::GCPtr<JS::Object>> cancel(JS::Value view);
|
||||
WebIDL::ExceptionOr<ReadableStreamReader> get_reader();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue