diff options
Diffstat (limited to 'gm/coloremoji_blendmodes.cpp')
-rw-r--r-- | gm/coloremoji_blendmodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/coloremoji_blendmodes.cpp b/gm/coloremoji_blendmodes.cpp index d7e8b6c81e..ee3db7671d 100644 --- a/gm/coloremoji_blendmodes.cpp +++ b/gm/coloremoji_blendmodes.cpp @@ -138,7 +138,7 @@ protected: } #if 1 const char* label = SkBlendMode_Name(gModes[i]); - canvas->drawText(label, strlen(label), x + w/2, y - labelP.getTextSize()/2, labelP); + canvas->drawString(label, x + w/2, y - labelP.getTextSize()/2, labelP); #endif x += w + SkIntToScalar(10); if ((i % W) == W - 1) { |