Index: src/gpu/GrPaint.cpp |
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp |
index 328484bd2d6aece501f47a581e2a577be12d23fb..0e5b2ccdd5656bb44dbbf51b0b93dc813410b155 100644 |
--- a/src/gpu/GrPaint.cpp |
+++ b/src/gpu/GrPaint.cpp |
@@ -76,7 +76,7 @@ bool GrPaint::getOpaqueAndKnownColor(GrColor* solidColor, |
GrSimplifyBlend(&srcCoeff, &dstCoeff, color, colorComps, 0, 0, 0); |
bool opaque = kZero_GrBlendCoeff == dstCoeff && !GrBlendCoeffRefsDst(srcCoeff); |
- if (NULL != solidColor) { |
+ if (solidColor) { |
if (opaque) { |
switch (srcCoeff) { |
case kZero_GrBlendCoeff: |