Index: src/effects/SkAvoidXfermode.cpp |
diff --git a/src/effects/SkAvoidXfermode.cpp b/src/effects/SkAvoidXfermode.cpp |
index aae6ba5f116a2d121719621ebee7152dedb9c2b5..b596bfdb7309f439b0024833f72b437b1fef5ccd 100644 |
--- a/src/effects/SkAvoidXfermode.cpp |
+++ b/src/effects/SkAvoidXfermode.cpp |
@@ -108,7 +108,7 @@ void SkAvoidXfermode::xfer32(SkPMColor dst[], const SkPMColor src[], int count, |
SkASSERT(d <= 256); |
if (d > 0) { |
- if (NULL != aa) { |
+ if (aa) { |
d = SkAlphaMul(d, Accurate255To256(*aa++)); |
if (0 == d) { |
continue; |
@@ -157,7 +157,7 @@ void SkAvoidXfermode::xfer16(uint16_t dst[], const SkPMColor src[], int count, |
SkASSERT(d <= 32); |
if (d > 0) { |
- if (NULL != aa) { |
+ if (aa) { |
d = SkAlphaMul(d, Accurate255To256(*aa++)); |
if (0 == d) { |
continue; |