Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index a76a2ff0af380cb6db791f47feedb5f87f65b568..1f270af57245cc51e908163a87b2391b136d676d 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -204,7 +204,7 @@ void SkBaseDevice::drawAtlas(const SkDraw& draw, const SkImage* atlas, const SkR |
} |
pnt.setShader(shader); |
- if (colors && colors[i] != SK_ColorWHITE) { |
+ if (colors) { |
SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateModeFilter(colors[i], mode)); |
pnt.setColorFilter(cf); |
} |