mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Const qualify Web::Streams::ReadableStream::locked
This commit is contained in:
committed by
Andreas Kling
parent
42c102ecb6
commit
314eeeb9b2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user