Index: tests/ResourceCacheTest.cpp |
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp |
index c33af9f302309e597e625d1307d5587ed5d1210d..08d36780733afa4ee9ce2f0771bcd2878a9c6b98 100644 |
--- a/tests/ResourceCacheTest.cpp |
+++ b/tests/ResourceCacheTest.cpp |
@@ -221,7 +221,8 @@ static void test_wrapped_resources(skiatest::Reporter* reporter, GrContext* cont |
REPORTER_ASSERT(reporter, borrowedIsAlive); |
REPORTER_ASSERT(reporter, !adoptedIsAlive); |
- gpu->deleteTestingOnlyBackendTexture(texHandles[0]); |
+ gpu->deleteTestingOnlyBackendTexture(texHandles[0], !borrowedIsAlive); |
+ gpu->deleteTestingOnlyBackendTexture(texHandles[1], !adoptedIsAlive); |
context->resetContext(); |
} |