Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index 92a851bc5a59765542ce1a770671d37844f81657..be626197834b95fdee4eac5b50ab714387b2258d 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -80,7 +80,7 @@ void GrTextContext::drawPosText(GrDrawContext* dc, GrRenderTarget* rt, |
bool GrTextContext::ShouldDisableLCD(const SkPaint& paint) { |
if (paint.getShader() || |
- !SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode) || |
+ !SkXfermode::AsMode(paint.getXfermode(), nullptr) || |
paint.getMaskFilter() || |
paint.getRasterizer() || |
paint.getColorFilter() || |