Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 90be52b403e4e5a40b161b8879afac1e169738dc..fb4b48fdbd4376614c937bb2e8246aeda9510cff 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -207,8 +207,7 @@ void SkBaseDevice::drawAtlas(const SkDraw& draw, const SkImage* atlas, const SkR |
pnt.setShader(std::move(shader)); |
if (colors) { |
- SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateModeFilter(colors[i], mode)); |
- pnt.setColorFilter(cf); |
+ pnt.setColorFilter(SkColorFilter::MakeModeFilter(colors[i], mode)); |
} |
path.rewind(); |