| Index: src/core/SkGeometry.h
|
| diff --git a/src/core/SkGeometry.h b/src/core/SkGeometry.h
|
| index 15f1e55195a9888285b34dadcc717e1615d54f7a..74c9d89e3f023a225bf253d927dbf69d15080de6 100644
|
| --- a/src/core/SkGeometry.h
|
| +++ b/src/core/SkGeometry.h
|
| @@ -235,7 +235,7 @@ struct SkConic {
|
| * Chop this conic into N quads, stored continguously in pts[], where
|
| * N = 1 << pow2. The amount of storage needed is (1 + 2 * N)
|
| */
|
| - int chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
|
| + int SK_WARN_UNUSED_RESULT chopIntoQuadsPOW2(SkPoint pts[], int pow2) const;
|
|
|
| bool findXExtrema(SkScalar* t) const;
|
| bool findYExtrema(SkScalar* t) const;
|
| @@ -384,7 +384,7 @@ public:
|
| int pow2 = conic.computeQuadPOW2(tol);
|
| fQuadCount = 1 << pow2;
|
| SkPoint* pts = fStorage.reset(1 + 2 * fQuadCount);
|
| - conic.chopIntoQuadsPOW2(pts, pow2);
|
| + fQuadCount = conic.chopIntoQuadsPOW2(pts, pow2);
|
| return pts;
|
| }
|
|
|
|
|