Index: src/utils/SkPaintFilterCanvas.cpp |
diff --git a/src/utils/SkPaintFilterCanvas.cpp b/src/utils/SkPaintFilterCanvas.cpp |
index ce1e4b7dbf2134f2ae5663c483c85ece9fe2adb3..dff1514acbfc7fb3f959ac63b8bfd2efb191c99b 100644 |
--- a/src/utils/SkPaintFilterCanvas.cpp |
+++ b/src/utils/SkPaintFilterCanvas.cpp |
@@ -110,6 +110,12 @@ |
this->INHERITED::onDrawBitmapNine(bm, center, dst, apf.paint()); |
} |
+void SkPaintFilterCanvas::onDrawSprite(const SkBitmap& bm, int left, int top, |
+ const SkPaint* paint) { |
+ AutoPaintFilter apf(this, kBitmap_Type, paint); |
+ this->INHERITED::onDrawSprite(bm, left, top, apf.paint()); |
+} |
+ |
void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
const SkColor colors[], SkXfermode* xmode, |