diff options
author | 2014-12-17 08:21:04 -0800 | |
---|---|---|
committer | 2014-12-17 08:21:05 -0800 | |
commit | 220f926d9d4b38a9018c922c095847bbd261f583 (patch) | |
tree | efce65017941c05999dffbc84c243b0fd14e8f77 /tests | |
parent | ed9f7a9220db8484af2216bd66701dc1043abb4b (diff) |
use conics
BUG=skia:
Review URL: https://codereview.chromium.org/455043002
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PathTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 4bd4538f1a..2ec54d79fa 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(); |