aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-01-27 11:59:07 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-27 18:17:59 +0000
commitc121a8849cf6d1d535e69fc3836c5720e0372a28 (patch)
tree0c1a6aed703bb833a42c15b7c435385487f2cf17 /tests
parent1b2b3fbd1e71376957c8db2dbcfbd8e438403ff7 (diff)
give up on big cubics (for now) and just draw a line
BUG=683631, skia:6152 Change-Id: I69aa741af74a37e1d7bed25ad0401535599f6af0 Reviewed-on: https://skia-review.googlesource.com/7659 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/PathTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp
index 3ddacb0164..7515d3e261 100644
--- a/tests/PathTest.cpp
+++ b/tests/PathTest.cpp
@@ -4510,9 +4510,7 @@ DEF_TEST(PathBigCubic, reporter) {
path.moveTo(0, 512);
// this call should not assert
- if (false) {
- SkSurface::MakeRasterN32Premul(255, 255, nullptr)->getCanvas()->drawPath(path, SkPaint());
- }
+ SkSurface::MakeRasterN32Premul(255, 255, nullptr)->getCanvas()->drawPath(path, SkPaint());
}
DEF_TEST(PathContains, reporter) {