Make GrGpu::deleteTestingOnlyBackendTexture() take const GrBackendTexture&

Change-Id: Ibd00d0dc6d8c73628f26851e102defdbafab149b
Reviewed-on: https://skia-review.googlesource.com/113164
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/tests/ProxyTest.cpp b/tests/ProxyTest.cpp
index 8f5eb13..911c430 100644
--- a/tests/ProxyTest.cpp
+++ b/tests/ProxyTest.cpp
@@ -243,7 +243,7 @@
                     sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTextureAsRenderTarget(
                             backendTex, origin, supportedNumSamples);
                     if (!sProxy) {
-                        gpu->deleteTestingOnlyBackendTexture(&backendTex);
+                        gpu->deleteTestingOnlyBackendTexture(backendTex);
                         continue;  // This can fail on Mesa
                     }
 
@@ -255,7 +255,7 @@
                                        supportedNumSamples, SkBackingFit::kExact,
                                        caps.maxWindowRectangles());
 
-                    gpu->deleteTestingOnlyBackendTexture(&backendTex);
+                    gpu->deleteTestingOnlyBackendTexture(backendTex);
                 }
 
                 // Tests wrapBackendTexture that is only renderable
@@ -268,7 +268,7 @@
                     sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapRenderableBackendTexture(
                             backendTex, origin, supportedNumSamples);
                     if (!sProxy) {
-                        gpu->deleteTestingOnlyBackendTexture(&backendTex);
+                        gpu->deleteTestingOnlyBackendTexture(backendTex);
                         continue;  // This can fail on Mesa
                     }
 
@@ -280,7 +280,7 @@
                                        supportedNumSamples, SkBackingFit::kExact,
                                        caps.maxWindowRectangles());
 
-                    gpu->deleteTestingOnlyBackendTexture(&backendTex);
+                    gpu->deleteTestingOnlyBackendTexture(backendTex);
                 }
 
                 // Tests wrapBackendTexture that is only textureable
@@ -294,7 +294,7 @@
                     sk_sp<GrSurfaceProxy> sProxy = proxyProvider->wrapBackendTexture(
                             backendTex, origin, kBorrow_GrWrapOwnership, nullptr, nullptr);
                     if (!sProxy) {
-                        gpu->deleteTestingOnlyBackendTexture(&backendTex);
+                        gpu->deleteTestingOnlyBackendTexture(backendTex);
                         continue;
                     }
 
@@ -304,7 +304,7 @@
                     check_texture(reporter, resourceProvider, sProxy->asTextureProxy(),
                                   SkBackingFit::kExact);
 
-                    gpu->deleteTestingOnlyBackendTexture(&backendTex);
+                    gpu->deleteTestingOnlyBackendTexture(backendTex);
                 }
             }
         }