Index: gm/shadertext.cpp |
diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp |
index fa8e2b59eff21b02a17c2a272569910ca675c51e..8cf7ab070036f895b798df0fda559ee61903c699 100644 |
--- a/gm/shadertext.cpp |
+++ b/gm/shadertext.cpp |
@@ -173,7 +173,8 @@ protected: |
++i; |
canvas->translate(SkIntToScalar((i / testsPerCol) * colWidth), |
SkIntToScalar((i % testsPerCol) * rowHeight)); |
- canvas->drawTextOnPath(text, textLen, path, NULL, paint); |
+ canvas->drawTextOnPath(text, textLen, path, NULL, |
+ SkCanvas::kStretch_TextOnPathMethod, paint); |
canvas->restore(); |
} |
canvas->restore(); |