From 2fc2359aaa8807606854f44a3f38c836a03977cd Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 3 Oct 2012 19:10:31 +0000 Subject: [PATCH] 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 --- tests/PathMeasureTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }