change giantdashline test to use 4 intervals, to explicitly avoid the asPoints

special case code (which we may test separately later).



git-svn-id: http://skia.googlecode.com/svn/trunk@7375 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-01-24 18:43:32 +00:00
parent 7fcfeb13b6
commit c270baf97a

View File

@ -338,7 +338,7 @@ public:
// deliberately pick intervals that won't be caught by asPoints(), so
// we can test the filterPath code-path.
const SkScalar intervals[] = { 2, 1 };
const SkScalar intervals[] = { 2, 1, 1, 1 };
fPathEffect.reset(new SkDashPathEffect(intervals,
SK_ARRAY_COUNT(intervals), 0));