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