From 1a4cb655616cab5c72a0dbfa24a2a42714ebe34d Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Thu, 12 May 2022 13:17:47 +0000 Subject: [PATCH] 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 Reviewed-by: Corentin Wallez Commit-Queue: Austin Eng --- include/dawn/wire/WireClient.h | 2 +- include/dawn/wire/WireServer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dawn/wire/WireClient.h b/include/dawn/wire/WireClient.h index 26e1f1deab..c1adfb1337 100644 --- a/include/dawn/wire/WireClient.h +++ b/include/dawn/wire/WireClient.h @@ -68,7 +68,7 @@ class DAWN_WIRE_EXPORT WireClient : public CommandHandler { explicit WireClient(const WireClientDescriptor& descriptor); ~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); ReservedSwapChain ReserveSwapChain(WGPUDevice device); diff --git a/include/dawn/wire/WireServer.h b/include/dawn/wire/WireServer.h index 03d694e5a3..9fc2ab3973 100644 --- a/include/dawn/wire/WireServer.h +++ b/include/dawn/wire/WireServer.h @@ -39,7 +39,7 @@ class DAWN_WIRE_EXPORT WireServer : public CommandHandler { explicit WireServer(const WireServerDescriptor& descriptor); ~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, uint32_t id,