Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 777b7f8fd7bf786de5d30136eab5b0b8ab4f9ebe..92834f9ea47050f3290645f93cacd32c2a57f00d 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -236,7 +236,8 @@ protected: |
const SkPaint&) = 0; |
virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, const SkPath&, |
- const SkMatrix*, const SkPaint&); |
+ const SkMatrix*, SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM |
+ const SkPaint&); |
bool readPixels(const SkImageInfo&, void* dst, size_t rowBytes, int x, int y); |
/////////////////////////////////////////////////////////////////////////// |