Index: tests/WritePixelsTest.cpp |
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp |
index eca5adec82639083f3c69d85c97ae9ee60b68d67..86effad36486c6a669b4123255d29fce74ebd796 100644 |
--- a/tests/WritePixelsTest.cpp |
+++ b/tests/WritePixelsTest.cpp |
@@ -312,8 +312,8 @@ static SkSurface* create_surface(const CanvasConfig& c, GrContext* grCtx) { |
#if SK_SUPPORT_GPU |
case kGpu_BottomLeft_DevType: |
case kGpu_TopLeft_DevType: |
- GrTextureDesc desc; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ GrSurfaceDesc desc; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = DEV_W; |
desc.fHeight = DEV_H; |
desc.fConfig = kSkia8888_GrPixelConfig; |