Index: src/gpu/effects/GrConfigConversionEffect.cpp |
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp |
index 290322d8333b0b0f2801224b291425904e07ef4d..edbd0b283161dd4d476d10d1ea38676ea977c461 100644 |
--- a/src/gpu/effects/GrConfigConversionEffect.cpp |
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp |
@@ -174,9 +174,9 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
} |
} |
- GrTextureDesc desc; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit | |
- kNoStencil_GrTextureFlagBit; |
+ GrSurfaceDesc desc; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag | |
+ kNoStencil_GrSurfaceFlag; |
desc.fWidth = 256; |
desc.fHeight = 256; |
desc.fConfig = kRGBA_8888_GrPixelConfig; |
@@ -189,7 +189,7 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
if (!tempTex.get()) { |
return; |
} |
- desc.fFlags = kNone_GrTextureFlags; |
+ desc.fFlags = kNone_GrSurfaceFlags; |
SkAutoTUnref<GrTexture> dataTex(context->createUncachedTexture(desc, data, 0)); |
if (!dataTex.get()) { |
return; |