diff options
Diffstat (limited to 'gm/imageblur2.cpp')
-rw-r--r-- | gm/imageblur2.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gm/imageblur2.cpp b/gm/imageblur2.cpp index 19c92f3193..b6f9ff5026 100644 --- a/gm/imageblur2.cpp +++ b/gm/imageblur2.cpp @@ -70,11 +70,10 @@ protected: textPaint.setTextSize(textSize); for (int i = 0; i < testStringCount; i++) { - canvas->drawText(kTestStrings[i], - strlen(kTestStrings[i]), - SkIntToScalar(x * dx), - SkIntToScalar(y * dy + textSize * i + textSize), - textPaint); + canvas->drawString(kTestStrings[i], + SkIntToScalar(x * dx), + SkIntToScalar(y * dy + textSize * i + textSize), + textPaint); } canvas->restore(); } |