Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index cb7816b6a43e72f84d96483b0810df65b54d1738..da0f38f4e398da182be3b34eb40f9f88d7c8e37b 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -1759,9 +1759,9 @@ ErrorCombination run_multiple_configs(GMMain &gmmain, GM *gm, |
bool grSuccess = false; |
if (gr) { |
// create a render target to back the device |
- GrTextureDesc desc; |
+ GrSurfaceDesc desc; |
desc.fConfig = kSkia8888_GrPixelConfig; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = gm->getISize().width(); |
desc.fHeight = gm->getISize().height(); |
desc.fSampleCnt = config.fSampleCnt; |