Skip to content

Commit

Permalink
[GCC] Unreviewed, build fix for Debian 11 after 276319@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=271118

Similar fix to 276220@main.

* Source/WebCore/Modules/indexeddb/server/IDBSerialization.cpp:
(WebCore::decodeKey):

Canonical link: https://commits.webkit.org/276336@main
  • Loading branch information
dpino committed Mar 19, 2024
1 parent 3472dac commit 20ecbb6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -353,7 +353,7 @@ static WARN_UNUSED_RETURN bool decodeKey(const uint8_t*& data, const uint8_t* en
return false;

size_t size = static_cast<size_t>(size64);
Vector<uint8_t> dataVector(std::span { data, size });
Vector<uint8_t> dataVector(std::span<const uint8_t>(data, size));
data += size;

result.setBinaryValue(ThreadSafeDataBuffer::create(WTFMove(dataVector)));
Expand Down

0 comments on commit 20ecbb6

Please sign in to comment.