diff options
author | Herb Derby <herb@google.com> | 2018-07-27 16:46:49 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-27 21:45:00 +0000 |
commit | 80eb42ba9ee8b09a71d229ae8422c93e5c59f201 (patch) | |
tree | 28ef32936197d1a32c5d677ad81547337c8e979d /src/core/SkGlyphRun.h | |
parent | 2183142feaf11d4ad4fee0c2b46f81de443424a5 (diff) |
Take advantage of newly const ref text stack
Change-Id: Ib09669cbacc7b466c268af7a7bc1341b7d9e9916
Reviewed-on: https://skia-review.googlesource.com/144124
Commit-Queue: Herb Derby <herb@google.com>
Auto-Submit: Herb Derby <herb@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/core/SkGlyphRun.h')
-rw-r--r-- | src/core/SkGlyphRun.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkGlyphRun.h b/src/core/SkGlyphRun.h index fc85c3ec03..003c13c91c 100644 --- a/src/core/SkGlyphRun.h +++ b/src/core/SkGlyphRun.h @@ -279,7 +279,7 @@ private: SkSpan<const uint32_t> clusters = SkSpan<const uint32_t>{}); size_t simplifyDrawPosText( const SkPaint& paint, SkSpan<const SkGlyphID> glyphIDs, const SkPoint* pos, - uint16_t* uniqueGlyphIDIndices, SkGlyphID* uniqueGlyphIDs, SkPoint* positions, + uint16_t* uniqueGlyphIDIndices, SkGlyphID* uniqueGlyphIDs, SkSpan<const char> text = SkSpan<const char>{}, SkSpan<const uint32_t> clusters = SkSpan<const uint32_t>{}); |