Index: src/core/SkDevice.cpp |
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp |
index 2f510700753d1c51d41e92ae83fbb204f61aa344..36d0ffe51bc1994052cb503444eab105f4430554 100644 |
--- a/src/core/SkDevice.cpp |
+++ b/src/core/SkDevice.cpp |
@@ -292,7 +292,7 @@ static void morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, |
void SkBaseDevice::drawTextOnPath(const SkDraw& draw, const void* text, size_t byteLength, |
const SkPath& follow, const SkMatrix* matrix, |
- const SkPaint& paint) { |
+ SK_SUPPORT_LEGACY_DRAWTEXTONPATH_PARAM const SkPaint& paint) { |
SkASSERT(byteLength == 0 || text != NULL); |
// nothing to draw |