mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue