Clean up some unused code
Bug: dawn:2343
Change-Id: I7e1bdff72c4d37fd4ae2bd14374f4dfd9c11f73f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/194740
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
diff --git a/src/dawn/native/Device.h b/src/dawn/native/Device.h
index 3a9189f..f8288c5 100644
--- a/src/dawn/native/Device.h
+++ b/src/dawn/native/Device.h
@@ -414,21 +414,6 @@
CallbackTaskManager* GetCallbackTaskManager() const;
dawn::platform::WorkerTaskPool* GetWorkerTaskPool() const;
- // Enqueue a successfully-create async pipeline creation callback.
- // TODO(dawn:2353): Remove.
- void AddRenderPipelineAsyncCallbackTask(Ref<RenderPipelineBase> pipeline,
- WGPUCreateRenderPipelineAsyncCallback callback,
- void* userdata);
- // Enqueue a failed async pipeline creation callback.
- // If the device is lost, then further errors should not be reported to
- // the application. Instead of an error, a successful callback is enqueued, using
- // an error pipeline created with `label`.
- // TODO(dawn:2353): Remove.
- void AddRenderPipelineAsyncCallbackTask(std::unique_ptr<ErrorData> error,
- const char* label,
- WGPUCreateRenderPipelineAsyncCallback callback,
- void* userdata);
-
PipelineCompatibilityToken GetNextPipelineCompatibilityToken();
const CacheKey& GetCacheKey() const;