Skip to content

Commit

Permalink
Unreviewed WatchOS build fix after 276220@main
Browse files Browse the repository at this point in the history
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteQueueProxy.cpp:
(WebKit::WebGPU::RemoteQueueProxy::writeBuffer):

Canonical link: https://commits.webkit.org/276223@main
  • Loading branch information
cdumez committed Mar 16, 2024
1 parent 02a0c1d commit fcf4992
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void RemoteQueueProxy::writeBuffer(
if (!convertedBuffer)
return;

auto sendResult = send(Messages::RemoteQueue::WriteBuffer(convertedBuffer, bufferOffset, std::span { static_cast<const uint8_t*>(source) + dataOffset, size.value_or(byteLength - dataOffset) }));
auto sendResult = send(Messages::RemoteQueue::WriteBuffer(convertedBuffer, bufferOffset, std::span { static_cast<const uint8_t*>(source) + dataOffset, static_cast<size_t>(size.value_or(byteLength - dataOffset)) }));
UNUSED_VARIABLE(sendResult);
}

Expand Down

0 comments on commit fcf4992

Please sign in to comment.