Index: tests/ResourceCacheTest.cpp |
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp |
index 00f4e850005b5e633447d0e303f0a724145673fa..4e6e281a40f125ef577634092678e5fe09db1806 100644 |
--- a/tests/ResourceCacheTest.cpp |
+++ b/tests/ResourceCacheTest.cpp |
@@ -263,9 +263,9 @@ DEF_GPUTEST(ResourceCache, reporter, factory) { |
continue; |
} |
- GrTextureDesc desc; |
+ GrSurfaceDesc desc; |
desc.fConfig = kSkia8888_GrPixelConfig; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = gWidth; |
desc.fHeight = gHeight; |
SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); |