Index: src/core/SkGeometry.cpp |
diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp |
index 809ed199ad6478e2c69135ab955a798acade643c..7256b9e517ec5e401c6e6838dbc6245392b99f85 100644 |
--- a/src/core/SkGeometry.cpp |
+++ b/src/core/SkGeometry.cpp |
@@ -1029,7 +1029,7 @@ void SkConic::chopAt(SkScalar t1, SkScalar t2, SkConic* dst) const { |
dst->fPts[1] = to_point(bXY / bZZ); |
dst->fPts[2] = to_point(cXY / cZZ); |
Sk2s ww = bZZ / (aZZ * cZZ).sqrt(); |
- dst->fW = ww.kth<0>(); |
+ dst->fW = ww[0]; |
} |
SkPoint SkConic::evalAt(SkScalar t) const { |