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 <enga@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.com>
This commit is contained in:
parent
a52d4fc4b3
commit
ca611e3799
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue