mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
LibWeb: Mark body argument of extract_body() as const reference
This commit is contained in:
parent
1b9f5fa28a
commit
48b59aaeb1
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ Optional<MimeSniff::MimeType> XMLHttpRequest::extract_mime_type(Fetch::HeaderLis
|
|||
}
|
||||
|
||||
// https://fetch.spec.whatwg.org/#concept-bodyinit-extract
|
||||
static XMLHttpRequest::BodyWithType extract_body(XMLHttpRequestBodyInit& body)
|
||||
static XMLHttpRequest::BodyWithType extract_body(XMLHttpRequestBodyInit const& body)
|
||||
{
|
||||
if (body.has<NonnullRefPtr<URL::URLSearchParams>>()) {
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue