Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index fe8887f54ec2814ca14691839c9129b314f0d1c8..395408c23e48bbfadd29ee94ad80b4704786e814 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -271,7 +271,7 @@ |
if (fp) { |
GrContext* context = texture->getContext(); |
GrSurfaceDesc maskDesc; |
- if (context->caps()->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { |
+ if (context->isConfigRenderable(kAlpha_8_GrPixelConfig, false)) { |
maskDesc.fConfig = kAlpha_8_GrPixelConfig; |
} else { |
maskDesc.fConfig = kRGBA_8888_GrPixelConfig; |