Index: src/gpu/GrDistanceFieldTextContext.cpp |
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp |
index dc0ea954ec189f50cd47f058acd6a35497a3c2a0..0aafc544d7831df982c28c21d0ccb4c8fd0c0ad9 100755 |
--- a/src/gpu/GrDistanceFieldTextContext.cpp |
+++ b/src/gpu/GrDistanceFieldTextContext.cpp |
@@ -188,7 +188,7 @@ void GrDistanceFieldTextContext::flushGlyphs() { |
// get our current color |
SkColor filteredColor; |
SkColorFilter* colorFilter = fSkPaint.getColorFilter(); |
- if (NULL != colorFilter) { |
+ if (colorFilter) { |
filteredColor = colorFilter->filterColor(fSkPaint.getColor()); |
} else { |
filteredColor = fSkPaint.getColor(); |