Index: src/core/SkSpriteBlitter_ARGB32.cpp |
diff --git a/src/core/SkSpriteBlitter_ARGB32.cpp b/src/core/SkSpriteBlitter_ARGB32.cpp |
index a4ae41c689befaf2a746965bad675a673f1d9a6c..142d6ca299a93a9098efb69e332e6b2dd7110cbf 100644 |
--- a/src/core/SkSpriteBlitter_ARGB32.cpp |
+++ b/src/core/SkSpriteBlitter_ARGB32.cpp |
@@ -135,12 +135,12 @@ public: |
do { |
const SkPMColor* tmp = src; |
- if (NULL != colorFilter) { |
+ if (colorFilter) { |
colorFilter->filterSpan(src, width, fBuffer); |
tmp = fBuffer; |
} |
- if (NULL != xfermode) { |
+ if (xfermode) { |
xfermode->xfer32(dst, tmp, width, NULL); |
} else { |
fProc32(dst, tmp, width, fAlpha); |
@@ -183,10 +183,10 @@ public: |
do { |
fillbuffer(buffer, src, width); |
- if (NULL != colorFilter) { |
+ if (colorFilter) { |
colorFilter->filterSpan(buffer, width, buffer); |
} |
- if (NULL != xfermode) { |
+ if (xfermode) { |
xfermode->xfer32(dst, buffer, width, NULL); |
} else { |
fProc32(dst, buffer, width, fAlpha); |