Remove mock WGPU[Obj]Release that was deprecated in favor of AddRef
Bug: dawn:2234
Change-Id: Ibce19f83d551671af9512410e476002f305ba0c4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/184281
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/generator/templates/mock_api.h b/generator/templates/mock_api.h
index e765d0e..45b5713 100644
--- a/generator/templates/mock_api.h
+++ b/generator/templates/mock_api.h
@@ -72,10 +72,6 @@
virtual void {{as_MethodSuffix(type.name, Name("add ref"))}}({{as_cType(type.name)}} self) = 0;
virtual void {{as_MethodSuffix(type.name, Name("release"))}}({{as_cType(type.name)}} self) = 0;
- // TODO(dawn::2234): Deprecated. Remove once no longer used.
- void {{as_MethodSuffix(type.name, Name("reference"))}}({{as_cType(type.name)}} self) {
- {{as_MethodSuffix(type.name, Name("add ref"))}}(self);
- }
{% for method in type.methods if method.name.get() not in ManuallyMockedFunctions %}
{% set Suffix = as_CppMethodSuffix(type.name, method.name) %}
{% if not has_callback_arguments(method) and not has_callback_info(method) and not has_callbackInfoStruct(method) %}