aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/recordopts.cpp
diff options
context:
space:
mode:
authorGravatar brianosman <brianosman@google.com>2016-06-23 11:40:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-23 11:40:14 -0700
commit42a41499de94ff9201ca3c56554d7b92ce32b247 (patch)
tree1ebd579c0f0443016ca7e3024cec14e69a4b39fd /gm/recordopts.cpp
parentff723af8b6bc7179132052fbab7d77ec2a20eba2 (diff)
Change loop bounds to be correct (and much less confusing)
Diffstat (limited to 'gm/recordopts.cpp')
-rw-r--r--gm/recordopts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/recordopts.cpp b/gm/recordopts.cpp
index 25a88f73e5..4a5248d0ea 100644
--- a/gm/recordopts.cpp
+++ b/gm/recordopts.cpp
@@ -190,7 +190,7 @@ DEF_SIMPLE_GM(recordopts, canvas, (kTestRectSize+1)*2, (kTestRectSize+1)*15) {
for (size_t i = 0; i < SK_ARRAY_COUNT(shapeColors); ++i) {
shapeColor = shapeColors[i];
- for (size_t j = 0; j < SK_ARRAY_COUNT(shapeColors); ++j) {
+ for (size_t j = 0; j < SK_ARRAY_COUNT(detectorInstallFuncs); ++j) {
InstallDetectorFunc detectorInstallFunc = detectorInstallFuncs[j];
for (size_t k = 0; k < SK_ARRAY_COUNT(funcs); ++k) {
TestVariantSequence drawTestSequence = funcs[k];