From e1d71454ebd5951922223c8aaa9e4f0a5c56d0fb Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Sun, 18 Jun 2023 21:36:19 +1200 Subject: [PATCH] LibWeb: Correct parameter name in Web::Streams::ReadableStream::cancel This aligns with the name given in the implementation file and is a better description of what is being passed in. --- Userland/Libraries/LibWeb/Streams/ReadableStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Streams/ReadableStream.h b/Userland/Libraries/LibWeb/Streams/ReadableStream.h index 4ef85ccc4e..2350636531 100644 --- a/Userland/Libraries/LibWeb/Streams/ReadableStream.h +++ b/Userland/Libraries/LibWeb/Streams/ReadableStream.h @@ -35,7 +35,7 @@ public: virtual ~ReadableStream() override; bool locked() const; - WebIDL::ExceptionOr> cancel(JS::Value view); + WebIDL::ExceptionOr> cancel(JS::Value reason); WebIDL::ExceptionOr get_reader(); Optional& controller() { return m_controller; }