From 378ea27f39d9d0dbe11f9b362039db6e14d556c4 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Fri, 27 Aug 2021 07:51:00 +0000 Subject: [PATCH] Remove stray reference to GetDefaultQueue Bug: dawn:22 Change-Id: Ia5c1f552317d9c35a9c09fe4e0684593cee9cacf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/62940 Auto-Submit: Corentin Wallez Reviewed-by: Jiawei Shao Commit-Queue: Corentin Wallez --- dawn_wire.json | 1 - src/dawn_wire/client/Device.cpp | 4 ---- src/dawn_wire/client/Device.h | 2 -- 3 files changed, 7 deletions(-) diff --git a/dawn_wire.json b/dawn_wire.json index 406ef4e3d3..1e70145a57 100644 --- a/dawn_wire.json +++ b/dawn_wire.json @@ -167,7 +167,6 @@ "BufferUnmap", "DeviceCreateComputePipeline", "DeviceCreateErrorBuffer", - "DeviceGetDefaultQueue", "DeviceGetQueue", "DeviceInjectError", "DevicePushErrorScope" diff --git a/src/dawn_wire/client/Device.cpp b/src/dawn_wire/client/Device.cpp index 2c87b7c1fb..95be206c96 100644 --- a/src/dawn_wire/client/Device.cpp +++ b/src/dawn_wire/client/Device.cpp @@ -229,10 +229,6 @@ namespace dawn_wire { namespace client { return ToAPI(mQueue); } - WGPUQueue Device::GetDefaultQueue() { - return GetQueue(); - } - // TODO(dawn:800): Once the deprecated computeStage field is removed this method will no longer // be needed and DeviceCreateComputePipeline can be removed from client_handwritten_commands in // dawn_wire.json diff --git a/src/dawn_wire/client/Device.h b/src/dawn_wire/client/Device.h index 2c0d35cbb0..0bc2ca30c3 100644 --- a/src/dawn_wire/client/Device.h +++ b/src/dawn_wire/client/Device.h @@ -64,8 +64,6 @@ namespace dawn_wire { namespace client { WGPUCreatePipelineAsyncStatus status, const char* message); - // TODO(dawn:22): Remove once the deprecation period is finished. - WGPUQueue GetDefaultQueue(); WGPUQueue GetQueue(); void CancelCallbacksForDisconnect() override;