Index: src/utils/SkPaintFilterCanvas.cpp |
diff --git a/src/utils/SkPaintFilterCanvas.cpp b/src/utils/SkPaintFilterCanvas.cpp |
index ea94068cb6e754ef913e0c6755eddfc564a6948c..75a79305003a2ec5ab11de63ff4b7368c4d621f8 100644 |
--- a/src/utils/SkPaintFilterCanvas.cpp |
+++ b/src/utils/SkPaintFilterCanvas.cpp |
@@ -204,6 +204,15 @@ void SkPaintFilterCanvas::onDrawTextOnPath(const void* text, size_t byteLength, |
} |
} |
+void SkPaintFilterCanvas::onDrawTextRSXform(const void* text, size_t byteLength, |
+ const SkRSXform xform[], const SkRect* cull, |
+ const SkPaint& paint) { |
+ AutoPaintFilter apf(this, kText_Type, paint); |
+ if (apf.shouldDraw()) { |
+ this->INHERITED::onDrawTextRSXform(text, byteLength, xform, cull, *apf.paint()); |
+ } |
+} |
+ |
void SkPaintFilterCanvas::onDrawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, |
const SkPaint& paint) { |
AutoPaintFilter apf(this, kTextBlob_Type, paint); |