Reland "Remove mock WGPU[Obj]Release that was deprecated in favor of AddRef"

This reverts commit 166c9d5d561d72bfbfacb99671d99675eb9e7fac.

Reason for revert: All the `APIReference()` calls have been removed
from Chromium.

Original change's description:
> Revert "Remove mock WGPU[Obj]Release that was deprecated in favor of AddRef"
>
> This reverts commit 5086cd77b6fb384da022b2cae95d86cf902fcb6d.
>
> Reason for revert: break dawn build after reverting https://dawn-review.googlesource.com/c/dawn/+/187707
>
> Original change's description:
> > 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>
>
> TBR=cwallez@chromium.org,enga@chromium.org,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com
>
> Change-Id: I6de90d354f7c19517d44db4516aa02026f5dad47
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: dawn:2234
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188180
> Reviewed-by: Austin Eng <enga@chromium.org>
> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>

# Not skipping CQ checks because this is a reland.

Bug: dawn:2234
Change-Id: Idcdb209705c0359677d1ae3029b50bbde410e387
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/188361
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
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) %}