Index: src/pathops/SkReduceOrder.cpp |
diff --git a/src/pathops/SkReduceOrder.cpp b/src/pathops/SkReduceOrder.cpp |
index 6f06447a4715f5009d4241432e6ffba41d3dbb12..bb2038b45f2ec864e6c06883c5aabded3ff9fe2d 100644 |
--- a/src/pathops/SkReduceOrder.cpp |
+++ b/src/pathops/SkReduceOrder.cpp |
@@ -88,12 +88,12 @@ |
} |
} |
if (minXSet == 0x7) { // test for vertical line |
- if (minYSet == 0x7) { // return 1 if all three are coincident |
+ if (minYSet == 0x7) { // return 1 if all four are coincident |
return coincident_line(quad, fQuad); |
} |
return vertical_line(quad, fQuad); |
} |
- if (minYSet == 0x7) { // test for horizontal line |
+ if (minYSet == 0xF) { // test for horizontal line |
return horizontal_line(quad, fQuad); |
} |
int result = check_linear(quad, minX, maxX, minY, maxY, fQuad); |