diff options
Diffstat (limited to 'tests/PathOpsOpTest.cpp')
-rw-r--r-- | tests/PathOpsOpTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PathOpsOpTest.cpp b/tests/PathOpsOpTest.cpp index 68250959b5..2da0d4cb08 100644 --- a/tests/PathOpsOpTest.cpp +++ b/tests/PathOpsOpTest.cpp @@ -3847,10 +3847,10 @@ static void cubicOp130(skiatest::Reporter* reporter, const char* filename) { #include "SkGeometry.h" static void complex_to_quads(const SkPoint pts[], SkPath* path) { - SkScalar loopT; - if (SkDCubic::ComplexBreak(pts, &loopT)) { + SkScalar loopT[3]; + if (SkDCubic::ComplexBreak(pts, loopT)) { SkPoint cubicPair[7]; - SkChopCubicAt(pts, cubicPair, loopT); + SkChopCubicAt(pts, cubicPair, loopT[0]); SkDCubic c1, c2; c1.set(cubicPair); c2.set(&cubicPair[3]); |