diff options
author | Hal Canary <halcanary@google.com> | 2018-07-24 11:33:21 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-25 17:21:56 +0000 |
commit | 4014ba6ec7a7825495ac0a6ed591c5dadd30751d (patch) | |
tree | 7439f79dce6e1768d7cdf3e36d4952fd9ed8ef1b /src/core/SkDraw.cpp | |
parent | ba5c439809fb2be3b1db159b29aeffaa39f786df (diff) |
SkUtils: remove some versions of UTF routines.
Change-Id: Ib1f776ae472117c23d2145253adf25fceb412b32
Reviewed-on: https://skia-review.googlesource.com/143111
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 4c9dddf1f5..8a49abfe3a 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1551,7 +1551,7 @@ void SkDraw::drawPosText_asPaths(const char text[], size_t byteLength, const SkS paint.setPathEffect(origPaint.refPathEffect()); while (text < stop) { - const SkGlyph& glyph = glyphCacheProc(cache.get(), &text); + const SkGlyph& glyph = glyphCacheProc(cache.get(), &text, stop); if (glyph.fWidth) { const SkPath* path = cache->findPath(glyph); if (path) { |