From da70024b08f86a451a91cc8287e667914ef7c41b Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Thu, 18 Feb 2021 18:06:09 +0000 Subject: [PATCH] Fix implicitly deleted default copy assignment operator Dawn roll broke the Chromium build. See https://ci.chromium.org/ui/p/chromium/builders/ci/win32-archive-rel/20453/overview Bug: dawn:680 Change-Id: Id2ebd6a00a80d95f8de163ee71428dda0a327450 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/42001 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez Commit-Queue: Austin Eng Auto-Submit: Austin Eng --- src/include/dawn_wire/Wire.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/dawn_wire/Wire.h b/src/include/dawn_wire/Wire.h index 590a6cce1a..2a946e992b 100644 --- a/src/include/dawn_wire/Wire.h +++ b/src/include/dawn_wire/Wire.h @@ -26,6 +26,7 @@ namespace dawn_wire { class DAWN_WIRE_EXPORT CommandSerializer { public: virtual ~CommandSerializer(); + CommandSerializer& operator=(const CommandSerializer& rhs) = delete; // Get space for serializing commands. // GetCmdSpace will never be called with a value larger than @@ -40,6 +41,8 @@ namespace dawn_wire { class DAWN_WIRE_EXPORT CommandHandler { public: virtual ~CommandHandler(); + CommandHandler& operator=(const CommandHandler& rhs) = delete; + virtual const volatile char* HandleCommands(const volatile char* commands, size_t size) = 0; };