Index: src/core/SkBlitter.cpp |
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp |
index 064dc16eda4fd98f4ed9de1f821ab2ec67a0567c..b73be40a4576da10338cfcb4017b2c6e320bd44c 100644 |
--- a/src/core/SkBlitter.cpp |
+++ b/src/core/SkBlitter.cpp |
@@ -9,7 +9,6 @@ |
#include "SkAntiRun.h" |
#include "SkColor.h" |
#include "SkColorFilter.h" |
-#include "SkFilterShader.h" |
#include "SkReadBuffer.h" |
#include "SkWriteBuffer.h" |
#include "SkMask.h" |
@@ -858,7 +857,7 @@ SkBlitter* SkBlitter::Choose(const SkPixmap& device, |
if (cf) { |
SkASSERT(shader); |
- shader = new SkFilterShader(shader, cf); |
+ shader = shader->newWithColorFilter(cf); |
paint.writable()->setShader(shader)->unref(); |
// blitters should ignore the presence/absence of a filter, since |
// if there is one, the shader will take care of it. |