aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/DashBench.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 18:43:32 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-24 18:43:32 +0000
commitc270baf97af1dfdb32ec9ab32561d0ddb87d1dde (patch)
treec65375c5496fd2b002f0f4ba7e49a1fdc0564d7f /bench/DashBench.cpp
parent7fcfeb13b64616e6353c267ab6de175a975d5a5f (diff)
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
Diffstat (limited to 'bench/DashBench.cpp')
-rw-r--r--bench/DashBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/DashBench.cpp b/bench/DashBench.cpp
index 42e23fd8f3..f10924605c 100644
--- a/bench/DashBench.cpp
+++ b/bench/DashBench.cpp
@@ -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));