diff options
author | 2013-04-11 07:01:45 +0000 | |
---|---|---|
committer | 2013-04-11 07:01:45 +0000 | |
commit | 391ca66276b27464f255c371e7e95f56f9042042 (patch) | |
tree | e992a5293be370b14afb20825c22dce8c07a67e1 /tests/PathTest.cpp | |
parent | 44f00b1429e99c75018eafe5e6e4d195f44bf4c2 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8608 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/PathTest.cpp')
-rw-r--r-- | tests/PathTest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index e124665026..be118467b0 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -33,20 +33,20 @@ static SkSurface* new_surface(int w, int h) { static void test_bad_cubic_crbug229478() { const SkPoint pts[] = { - { 4595.91064f, -11596.9873f }, - { 4597.2168f, -11595.9414f }, - { 4598.52344f, -11594.8955f }, - { 4599.83008f, -11593.8496f }, + { 4595.91064f, -11596.9873f }, + { 4597.2168f, -11595.9414f }, + { 4598.52344f, -11594.8955f }, + { 4599.83008f, -11593.8496f }, }; - + SkPath path; path.moveTo(pts[0]); path.cubicTo(pts[1], pts[2], pts[3]); - + SkPaint paint; paint.setStyle(SkPaint::kStroke_Style); paint.setStrokeWidth(20); - + SkPath dst; // Before the fix, this would infinite-recurse, and run out of stack // because we would keep trying to subdivide a degenerate cubic segment. |