Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 7e91af4f4b4c1a50be1c0b37eb9825e12ecfeb88..326f005e36290310c1685e747d05c3e8507e7056 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -272,13 +272,13 @@ bool SkAlphaThresholdFilterImpl::asFragmentProcessor(GrFragmentProcessor** fp, |
const SkIRect&) const { |
if (fp) { |
GrContext* context = texture->getContext(); |
- GrTextureDesc maskDesc; |
+ GrSurfaceDesc maskDesc; |
if (context->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { |
maskDesc.fConfig = kAlpha_8_GrPixelConfig; |
} else { |
maskDesc.fConfig = kRGBA_8888_GrPixelConfig; |
} |
- maskDesc.fFlags = kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit; |
+ maskDesc.fFlags = kRenderTarget_GrSurfaceFlag | kNoStencil_GrSurfaceFlag; |
// Add one pixel of border to ensure that clamp mode will be all zeros |
// the outside. |
maskDesc.fWidth = texture->width(); |