diff options
Diffstat (limited to 'samplecode/SampleAll.cpp')
-rw-r--r-- | samplecode/SampleAll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp index 37a0c4b871..a8d24589ce 100644 --- a/samplecode/SampleAll.cpp +++ b/samplecode/SampleAll.cpp @@ -544,7 +544,7 @@ protected: gLightingColors[index].fAdd)); #endif - canvas->drawText(str.c_str(), str.size(), x, y, paint); + canvas->drawString(str, x, y, paint); SkRect oval = { x, y - SkIntToScalar(40), x + SkIntToScalar(40), y }; paint.setStyle(SkPaint::kStroke_Style); canvas->drawOval(oval, paint); |