aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PathMeasureTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-03 19:10:31 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-03 19:10:31 +0000
commit2fc2359aaa8807606854f44a3f38c836a03977cd (patch)
tree99e2793a2b6c4d78733125fd66c9978fc506c56d /tests/PathMeasureTest.cpp
parentb6e806bf17ffcca0c147a7dab4fba104fe928a58 (diff)
Fix test_small_segments3 path measure test.
Review URL: https://codereview.appspot.com/6601050 git-svn-id: http://skia.googlecode.com/svn/trunk@5792 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathMeasureTest.cpp')
-rw-r--r--tests/PathMeasureTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PathMeasureTest.cpp b/tests/PathMeasureTest.cpp
index 211eb11a71..e8477c6fde 100644
--- a/tests/PathMeasureTest.cpp
+++ b/tests/PathMeasureTest.cpp
@@ -18,7 +18,7 @@ static void test_small_segment3(skiatest::Reporter* reporter) {
};
path.moveTo(pts[0]);
- for (size_t i = 1; i < SK_ARRAY_COUNT(pts); i += 2) {
+ for (size_t i = 1; i < SK_ARRAY_COUNT(pts); i += 3) {
path.cubicTo(pts[i], pts[i + 1], pts[i + 2]);
}