Index: tests/PathTest.cpp |
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp |
index 4bd4538f1a0169db1588fee68c17da2306ef2b7e..2ec54d79fa0ea2b438d6a6cbdb7361d43b8295f8 100644 |
--- a/tests/PathTest.cpp |
+++ b/tests/PathTest.cpp |
@@ -3657,7 +3657,8 @@ DEF_TEST(Paths, reporter) { |
p.addRoundRect(bounds, SK_Scalar1, SK_Scalar1); |
check_convex_bounds(reporter, p, bounds); |
// we have quads or cubics |
- REPORTER_ASSERT(reporter, p.getSegmentMasks() & kCurveSegmentMask); |
+ REPORTER_ASSERT(reporter, |
+ p.getSegmentMasks() & (kCurveSegmentMask | SkPath::kConic_SegmentMask)); |
REPORTER_ASSERT(reporter, !p.isEmpty()); |
p.reset(); |