Index: src/gpu/text/GrTextUtils.cpp |
diff --git a/src/gpu/text/GrTextUtils.cpp b/src/gpu/text/GrTextUtils.cpp |
index 56d4ec1c00e3613bb9a0ffeb8d2489f436ca386a..a5685f03815dd576ac414b46bfe5d3ab4dce56da 100644 |
--- a/src/gpu/text/GrTextUtils.cpp |
+++ b/src/gpu/text/GrTextUtils.cpp |
@@ -547,8 +547,7 @@ void GrTextUtils::DrawPosTextAsPath(GrContext* context, |
} |
bool GrTextUtils::ShouldDisableLCD(const SkPaint& paint) { |
- return !SkXfermode::AsMode(paint.getXfermode(), nullptr) || |
- paint.getMaskFilter() || |
+ return paint.getMaskFilter() || |
paint.getRasterizer() || |
paint.getPathEffect() || |
paint.isFakeBoldText() || |