Remove final qualifiers from WireClient/Server HandleCommands

It's useful to override them in Chrome so that HandleCommands
can be wrapped with some logic.

Bug: chromium:1315260
Change-Id: I856c360575bf6696cd51c13d8ce326afa2f2e08b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89704
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Austin Eng 2022-05-12 13:17:47 +00:00 committed by Dawn LUCI CQ
parent 53547db1d4
commit 1a4cb65561
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class DAWN_WIRE_EXPORT WireClient : public CommandHandler {
explicit WireClient(const WireClientDescriptor& descriptor); explicit WireClient(const WireClientDescriptor& descriptor);
~WireClient() override; ~WireClient() override;
const volatile char* HandleCommands(const volatile char* commands, size_t size) final; const volatile char* HandleCommands(const volatile char* commands, size_t size) override;
ReservedTexture ReserveTexture(WGPUDevice device); ReservedTexture ReserveTexture(WGPUDevice device);
ReservedSwapChain ReserveSwapChain(WGPUDevice device); ReservedSwapChain ReserveSwapChain(WGPUDevice device);

View File

@ -39,7 +39,7 @@ class DAWN_WIRE_EXPORT WireServer : public CommandHandler {
explicit WireServer(const WireServerDescriptor& descriptor); explicit WireServer(const WireServerDescriptor& descriptor);
~WireServer() override; ~WireServer() override;
const volatile char* HandleCommands(const volatile char* commands, size_t size) final; const volatile char* HandleCommands(const volatile char* commands, size_t size) override;
bool InjectTexture(WGPUTexture texture, bool InjectTexture(WGPUTexture texture,
uint32_t id, uint32_t id,