diff options
author | Cary Clark <caryclark@google.com> | 2017-04-06 11:55:16 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-06 18:12:19 +0000 |
commit | 372bc4e43e6720c1ce91cdfeb2cbe78ca50bc718 (patch) | |
tree | f5d56566f36ff40ab22dab6a364f4081cf6d8f18 /src/core | |
parent | 085bf7cce6d305eef86b0294bfe99c50e2a06d77 (diff) |
fix 36605271
typo in function header makes it appear
that a buffer overflow may occur
R=djsollen@google.com
Bug: b/36605271
Change-Id: Iab6d08ae71f49c46736dc025791faefdeb74df5e
Reviewed-on: https://skia-review.googlesource.com/11454
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkGlyphCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkGlyphCache.cpp b/src/core/SkGlyphCache.cpp index e20343dae1..d5efc0e672 100644 --- a/src/core/SkGlyphCache.cpp +++ b/src/core/SkGlyphCache.cpp @@ -269,7 +269,7 @@ void SkGlyphCache::AddLine(const SkPoint pts[2], SkScalar axis, bool yAxis, } } -void SkGlyphCache::AddQuad(const SkPoint pts[2], SkScalar axis, bool yAxis, +void SkGlyphCache::AddQuad(const SkPoint pts[3], SkScalar axis, bool yAxis, SkGlyph::Intercept* intercept) { SkDQuad quad; quad.set(pts); @@ -282,7 +282,7 @@ void SkGlyphCache::AddQuad(const SkPoint pts[2], SkScalar axis, bool yAxis, } } -void SkGlyphCache::AddCubic(const SkPoint pts[3], SkScalar axis, bool yAxis, +void SkGlyphCache::AddCubic(const SkPoint pts[4], SkScalar axis, bool yAxis, SkGlyph::Intercept* intercept) { SkDCubic cubic; cubic.set(pts); |