1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +00:00

LibWeb: Const qualify Web::Streams::ReadableStream::locked

This commit is contained in:
Shannon Booth 2023-06-18 21:34:41 +12:00 committed by Andreas Kling
parent 42c102ecb6
commit 314eeeb9b2
2 changed files with 2 additions and 2 deletions

View file

@ -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);