aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkGlyphCache.cpp4
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);