diff options
author | Andrea Canciani <ranma42@gmail.com> | 2009-11-11 00:09:08 +0100 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2009-11-11 16:45:19 +0100 |
commit | 9c24288c820069e80b0feb5e99ece4c89e92c0c6 (patch) | |
tree | 1155d732fb17510083a2cfdc5cac5b27a07ab12e /test/dash-infinite-loop.c | |
parent | cc2d2630669b084ec43e415d2806d94af00cf56c (diff) |
Revert "[test] Reorder dash-infinite-loop to not hit a runaway allocation."
The infinite loop problem in _cairo_stroker_dash_start is solved by
commit ee02f3484899527380df94c00f40da87f41660ea, so hitting that
problem is not possible anymore and dash-infinite stroke always
hit the memory intensive loops.
This reverts commit 29432d3d32bc84ec4a2e1815a84e4ac2089138fe.
Diffstat (limited to 'test/dash-infinite-loop.c')
-rw-r--r-- | test/dash-infinite-loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dash-infinite-loop.c b/test/dash-infinite-loop.c index 5476137f8..a3d75442c 100644 --- a/test/dash-infinite-loop.c +++ b/test/dash-infinite-loop.c @@ -68,9 +68,9 @@ draw (cairo_t *cr, int width, int height) /* The following calls will wedge in various places that try * to advance the dashing in a loop inside the stroker. */ - do_dash (cr, 30, 30, 1); /* _cairo_stroker_dash_start */ do_dash (cr, 30, 30, 0); /* _cairo_stroker_line_to_dashed */ do_dash (cr, 30, 0, 0); /* _cairo_rectilinear_stroker_line_to_dashed */ + do_dash (cr, 30, 30, 1); /* _cairo_stroker_dash_start */ return CAIRO_TEST_SUCCESS; } |