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/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp
index a88c062..1844f18 100644
--- a/tests/ResourceCacheTest.cpp
+++ b/tests/ResourceCacheTest.cpp
@@ -246,10 +246,10 @@
REPORTER_ASSERT(reporter, !adoptedIsAlive);
if (borrowedIsAlive) {
- gpu->deleteTestingOnlyBackendTexture(&(backendTextures[0]));
+ gpu->deleteTestingOnlyBackendTexture(backendTextures[0]);
}
if (adoptedIsAlive) {
- gpu->deleteTestingOnlyBackendTexture(&(backendTextures[1]));
+ gpu->deleteTestingOnlyBackendTexture(backendTextures[1]);
}
context->resetContext();