Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 7e1b3c90c505583d2201e937a40176d18c42b4cb..9d0c6459c1c6102922cfe4249c280e0ffc367270 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -117,8 +117,8 @@ static void test_wrapped_texture_surface(skiatest::Reporter* reporter, GrContext |
static const uint32_t kOrigColor = 0xFFAABBCC; |
SkAutoTArray<uint32_t> pixels(kW * kH); |
sk_memset32(pixels.get(), kOrigColor, kW * kH); |
- GrBackendObject texID = gpu->createBackendTexture(pixels.get(), kW, kH, |
- kRGBA_8888_GrPixelConfig); |
+ GrBackendObject texID = gpu->createTestingOnlyBackendTexture(pixels.get(), kW, kH, |
+ kRGBA_8888_GrPixelConfig); |
GrBackendTextureDesc wrappedDesc; |
wrappedDesc.fConfig = kRGBA_8888_GrPixelConfig; |