diff --git a/src/dawn/wire/server/ServerInlineMemoryTransferService.cpp b/src/dawn/wire/server/ServerInlineMemoryTransferService.cpp index c5f84d4cef..84ecb7b182 100644 --- a/src/dawn/wire/server/ServerInlineMemoryTransferService.cpp +++ b/src/dawn/wire/server/ServerInlineMemoryTransferService.cpp @@ -51,8 +51,6 @@ class InlineMemoryTransferService : public MemoryTransferService { size_t deserializeSize, size_t offset, size_t size) override { - ASSERT(offset <= mDataLength); - ASSERT(size <= mDataLength - offset); if (deserializeSize != size || mTargetData == nullptr || deserializePointer == nullptr) { return false;