diff options
Diffstat (limited to 'gm/complexclip3.cpp')
-rw-r--r-- | gm/complexclip3.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/complexclip3.cpp b/gm/complexclip3.cpp index 47b80ab7ad..7c5c672128 100644 --- a/gm/complexclip3.cpp +++ b/gm/complexclip3.cpp @@ -103,8 +103,7 @@ protected: doAAB ? "A" : "B", doInvB ? "I" : "N"); - canvas->drawText(str.c_str(), strlen(str.c_str()), txtX, SkIntToScalar(130), - paint); + canvas->drawString(str.c_str(), txtX, SkIntToScalar(130), paint); if (doInvB) { canvas->translate(SkIntToScalar(150),0); } else { |