diff options
Diffstat (limited to 'gm/animatedGif.cpp')
-rw-r--r-- | gm/animatedGif.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/animatedGif.cpp b/gm/animatedGif.cpp index dd08abfd36..5f4fe71cb0 100644 --- a/gm/animatedGif.cpp +++ b/gm/animatedGif.cpp @@ -27,7 +27,7 @@ namespace { SkPaint paint; SkRect bounds; paint.measureText(errorText.c_str(), errorText.size(), &bounds); - canvas->drawText(errorText.c_str(), errorText.size(), kOffset, bounds.height() + kOffset, + canvas->drawString(errorText, kOffset, bounds.height() + kOffset, paint); } } |