bump webkit (#15328)

Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Ben Grant <ben@bun.sh>
Co-authored-by: Meghan Denny <meghan@bun.sh>
Co-authored-by: Ashcon Partovi <ashcon@partovi.net>
This commit is contained in:
Dylan Conway
2024-12-12 03:21:56 -08:00
committed by GitHub
parent 7991be86a3
commit 71af1950fb
46 changed files with 2531 additions and 1918 deletions

View File

@@ -153,9 +153,9 @@ void HTTPHeaderMap::setUncommonHeaderCloneName(const StringView name, const Stri
return equalIgnoringASCIICase(header.key, name);
});
if (index == notFound) {
LChar* ptr = nullptr;
std::span<LChar> ptr;
auto nameCopy = WTF::String::createUninitialized(name.length(), ptr);
memcpy(ptr, name.span8().data(), name.length());
memcpy(ptr.data(), name.span8().data(), name.length());
m_uncommonHeaders.append(UncommonHeader { nameCopy, value });
} else
m_uncommonHeaders[index].value = value;