From ca611e3799f59c6e698d09dd55d40a391239eb0b Mon Sep 17 00:00:00 2001 From: shrekshao Date: Tue, 20 Jul 2021 23:26:48 +0000 Subject: [PATCH] Clean remaining deprecated WireServer WriteHandle interface Bug: dawn:773 Change-Id: I94f5f338c13fea063102f97ae5b1b8f995ae8991 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/59043 Reviewed-by: Austin Eng Commit-Queue: Shrek Shao --- src/include/dawn_wire/WireServer.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/include/dawn_wire/WireServer.h b/src/include/dawn_wire/WireServer.h index 3043a3081b..98a2e69ba9 100644 --- a/src/include/dawn_wire/WireServer.h +++ b/src/include/dawn_wire/WireServer.h @@ -120,21 +120,13 @@ namespace dawn_wire { // Set Staging data length for OOB check void SetDataLength(size_t dataLength); - // TODO(dawn:773): remove after update on chromium side. - virtual bool DeserializeFlush(const void* deserializePointer, - size_t deserializeSize) { - return false; - } - // This function takes in the serialized result of // client::MemoryTransferService::WriteHandle::SerializeDataUpdate. // Needs to check potential offset/size OOB and overflow virtual bool DeserializeDataUpdate(const void* deserializePointer, size_t deserializeSize, size_t offset, - size_t size) { - return false; - } + size_t size) = 0; protected: void* mTargetData = nullptr;