Index: src/pathops/SkPathOpsCubic.cpp |
diff --git a/src/pathops/SkPathOpsCubic.cpp b/src/pathops/SkPathOpsCubic.cpp |
index fda42a314044428897072747fc2e8566f7f7d75c..a89604f94cafa98ae9617868cf36bf86014151aa 100644 |
--- a/src/pathops/SkPathOpsCubic.cpp |
+++ b/src/pathops/SkPathOpsCubic.cpp |
@@ -94,6 +94,11 @@ bool SkDCubic::monotonicInY() const { |
} |
bool SkDCubic::serpentine() const { |
+#if 0 // FIXME: enabling this fixes cubicOp114 but breaks cubicOp58d and cubicOp53d |
+ double tValues[2]; |
+ // OPTIMIZATION : another case where caching the present of cubic inflections would be useful |
+ return findInflections(tValues) > 1; |
+#endif |
if (!controlsContainedByEnds()) { |
return false; |
} |