Index: src/pdf/SkPDFDeviceFlattener.cpp |
diff --git a/src/pdf/SkPDFDeviceFlattener.cpp b/src/pdf/SkPDFDeviceFlattener.cpp |
index 477486413a2fb2ed8a41b63c888379c2d1742900..ab6ce09e0ee774bba3efb4cf5376e78d6ab81371 100644 |
--- a/src/pdf/SkPDFDeviceFlattener.cpp |
+++ b/src/pdf/SkPDFDeviceFlattener.cpp |
@@ -132,16 +132,6 @@ void SkPDFDeviceFlattener::drawPosText(const SkDraw& d, const void* text, size_t |
INHERITED::drawPosText(d, text, len, pos, scalarsPerPos, offset, paint); |
} |
-void SkPDFDeviceFlattener::drawTextOnPath(const SkDraw& d, const void* text, size_t len, |
- const SkPath& path, const SkMatrix* matrix, |
- const SkPaint& paint) { |
- if (mustPathText(d, paint) || (matrix && matrix->hasPerspective())) { |
- d.drawTextOnPath((const char*)text, len, path, matrix, paint); |
- return; |
- } |
- INHERITED::drawTextOnPath(d, text, len, path, matrix, paint); |
-} |
- |
bool SkPDFDeviceFlattener::mustFlatten(const SkDraw& d) const { |
// TODO(edisonn): testability, add flag to force return true. |
return d.fMatrix->hasPerspective(); |