| Index: src/animator/SkTextOnPath.cpp
|
| diff --git a/src/animator/SkTextOnPath.cpp b/src/animator/SkTextOnPath.cpp
|
| index 7bdb7fd977f48cd63ef43f286be8bf5f68e7599d..6adbd99c4f9e7ad77351d85b78d5dc990492de3e 100644
|
| --- a/src/animator/SkTextOnPath.cpp
|
| +++ b/src/animator/SkTextOnPath.cpp
|
| @@ -33,7 +33,10 @@ bool SkTextOnPath::draw(SkAnimateMaker& maker) {
|
| SkASSERT(text);
|
| SkASSERT(path);
|
| SkBoundableAuto boundable(this, maker);
|
| - maker.fCanvas->drawTextOnPathHV(text->getText(), text->getSize(),
|
| - path->getPath(), offset, 0, *maker.fPaint);
|
| + SkMatrix matrix;
|
| + matrix.setTranslate(offset, 0);
|
| + maker.fCanvas->drawTextOnPath(text->getText(), text->getSize(),
|
| + path->getPath(), &matrix, SkCanvas::kStretch_TextOnPathMethod,
|
| + *maker.fPaint);
|
| return false;
|
| }
|
|
|