shape ops work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@7758 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/CubicConvexHull.cpp b/experimental/Intersection/CubicConvexHull.cpp
index 3be8c21..137b0d6 100644
--- a/experimental/Intersection/CubicConvexHull.cpp
+++ b/experimental/Intersection/CubicConvexHull.cpp
@@ -54,11 +54,11 @@
sub_divide(cubic1, minT1, maxT1, intersections.swapped() ? larger : smaller);
sub_divide(cubic2, minT2, maxT2, intersections.swapped() ? smaller : larger);
Cubic smallResult;
- if (reduceOrder(smaller, smallResult,
- kReduceOrder_NoQuadraticsAllowed) <= 2) {
+ if (reduceOrder(smaller, smallResult, kReduceOrder_NoQuadraticsAllowed,
+ kReduceOrder_TreatAsFill) <= 2) {
Cubic largeResult;
- if (reduceOrder(larger, largeResult,
- kReduceOrder_NoQuadraticsAllowed) <= 2) {
+ if (reduceOrder(larger, largeResult, kReduceOrder_NoQuadraticsAllowed,
+ kReduceOrder_TreatAsFill) <= 2) {
const _Line& smallLine = (const _Line&) smallResult;
const _Line& largeLine = (const _Line&) largeResult;
Intersections lineTs;