Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 22a56d007de034749791b33d7d1e82cd462cf78e..8dce0a49e51f793a03fe2ae909d4df22413c2253 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -267,11 +267,6 @@ protected: |
virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
const SkPath& path, const SkMatrix* matrix, |
const SkPaint& paint) = 0; |
-#ifdef SK_BUILD_FOR_ANDROID |
- virtual void drawPosTextOnPath(const SkDraw& draw, const void* text, size_t len, |
- const SkPoint pos[], const SkPaint& paint, |
- const SkPath& path, const SkMatrix* matrix) = 0; |
-#endif |
virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCount, |
const SkPoint verts[], const SkPoint texs[], |
const SkColor colors[], SkXfermode* xmode, |
@@ -283,6 +278,11 @@ protected: |
virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
const SkPaint&) = 0; |
+ // DEPRECATED -- will remove this once the subclass stop overriding it |
+ virtual void drawPosTextOnPath(const SkDraw&, const void* text, size_t len, |
+ const SkPoint pos[], const SkPaint&, |
+ const SkPath&, const SkMatrix*) {} |
+ |
/** |
* On success (returns true), copy the device pixels into the bitmap. |
* On failure, the bitmap parameter is left unchanged and false is |