Make BackendConnection NonMovable.
Bug: None
Change-Id: Icf51c3889324f5a17e55a10a8cb3275c2b21517f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153321
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn/native/BackendConnection.h b/src/dawn/native/BackendConnection.h
index 375c309..3be9147 100644
--- a/src/dawn/native/BackendConnection.h
+++ b/src/dawn/native/BackendConnection.h
@@ -31,6 +31,7 @@
#include <memory>
#include <vector>
+#include "dawn/common/NonCopyable.h"
#include "dawn/native/DawnNative.h"
#include "dawn/native/PhysicalDevice.h"
#include "dawn/native/Toggles.h"
@@ -39,7 +40,7 @@
// An common interface for all backends. Mostly used to create adapters for a particular
// backend.
-class BackendConnection {
+class BackendConnection : NonMovable {
public:
BackendConnection(InstanceBase* instance, wgpu::BackendType type);
virtual ~BackendConnection() = default;