aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-12-17 08:21:04 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-17 08:21:05 -0800
commit220f926d9d4b38a9018c922c095847bbd261f583 (patch)
treeefce65017941c05999dffbc84c243b0fd14e8f77 /tests
parented9f7a9220db8484af2216bd66701dc1043abb4b (diff)
use conics
Diffstat (limited to 'tests')
-rw-r--r--tests/PathTest.cpp3
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();