diff options
author | caryclark <caryclark@google.com> | 2015-04-29 08:28:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-29 08:28:30 -0700 |
commit | aec251012542e971100e218bf463adbfb5d21d20 (patch) | |
tree | 16c2e84c2d59d94b75d7d2bc50fec53c0e38a898 /tests/PathOpsDCubicTest.cpp | |
parent | 97fdea6c4393cf0102d7eee5790782509fb4f57b (diff) |
minor fixes to cubics code and overall alignment of how bounds and tops are computed for all curve types
All but 17 extended tests work.
A helper function is privately added to SkPath.h to permit a test to modify a given point in a path.
BUG=skia:3588
Review URL: https://codereview.chromium.org/1107353004
Diffstat (limited to 'tests/PathOpsDCubicTest.cpp')
-rw-r--r-- | tests/PathOpsDCubicTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathOpsDCubicTest.cpp b/tests/PathOpsDCubicTest.cpp index c7c9f2ab96..b5fe8f744b 100644 --- a/tests/PathOpsDCubicTest.cpp +++ b/tests/PathOpsDCubicTest.cpp @@ -21,7 +21,7 @@ DEF_TEST(PathOpsDCubic, reporter) { const SkDCubic& cubic = tests[index]; SkASSERT(ValidCubic(cubic)); bool skip; - bool result = cubic.clockwise(&skip); + bool result = cubic.clockwise(cubic, &skip); if (!result) { SkDebugf("%s [%d] expected clockwise\n", __FUNCTION__, index); REPORTER_ASSERT(reporter, 0); |