Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index be626197834b95fdee4eac5b50ab714387b2258d..6ab730cdfa4d840047681a46a60a8f10fb634d53 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -79,11 +79,9 @@ void GrTextContext::drawPosText(GrDrawContext* dc, GrRenderTarget* rt, |
} |
bool GrTextContext::ShouldDisableLCD(const SkPaint& paint) { |
- if (paint.getShader() || |
- !SkXfermode::AsMode(paint.getXfermode(), nullptr) || |
+ if (!SkXfermode::AsMode(paint.getXfermode(), nullptr) || |
paint.getMaskFilter() || |
paint.getRasterizer() || |
- paint.getColorFilter() || |
paint.getPathEffect() || |
paint.isFakeBoldText() || |
paint.getStyle() != SkPaint::kFill_Style) |