Index: src/pdf/SkPDFDeviceFlattener.cpp |
diff --git a/src/pdf/SkPDFDeviceFlattener.cpp b/src/pdf/SkPDFDeviceFlattener.cpp |
index aea87f6546aa98a1b24c0d1806484910b2dd53cf..477486413a2fb2ed8a41b63c888379c2d1742900 100644 |
--- a/src/pdf/SkPDFDeviceFlattener.cpp |
+++ b/src/pdf/SkPDFDeviceFlattener.cpp |
@@ -123,13 +123,13 @@ void SkPDFDeviceFlattener::drawText(const SkDraw& d, const void* text, size_t le |
} |
void SkPDFDeviceFlattener::drawPosText(const SkDraw& d, const void* text, size_t len, |
- const SkScalar pos[], SkScalar constY, |
- int scalarsPerPos, const SkPaint& paint) { |
+ const SkScalar pos[], int scalarsPerPos, |
+ const SkPoint& offset, const SkPaint& paint) { |
if (mustPathText(d, paint)) { |
- d.drawPosText_asPaths((const char*)text, len, pos, constY, scalarsPerPos, paint); |
+ d.drawPosText_asPaths((const char*)text, len, pos, scalarsPerPos, offset, paint); |
return; |
} |
- INHERITED::drawPosText(d, text, len, pos, constY,scalarsPerPos, paint); |
+ INHERITED::drawPosText(d, text, len, pos, scalarsPerPos, offset, paint); |
} |
void SkPDFDeviceFlattener::drawTextOnPath(const SkDraw& d, const void* text, size_t len, |