Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: gm/recordopts.cpp

Issue 2095693002: Change loop bounds to be correct (and much less confusing) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/recordopts.cpp
diff --git a/gm/recordopts.cpp b/gm/recordopts.cpp
index 25a88f73e54defdb3b57ff46ae03f5b414652ded..4a5248d0eab557d2a74c850aaacc017893cffdb9 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) {
reed1 2016/06/23 17:43:29 can we use the fancy style (and be perhaps even cl
InstallDetectorFunc detectorInstallFunc = detectorInstallFuncs[j];
for (size_t k = 0; k < SK_ARRAY_COUNT(funcs); ++k) {
TestVariantSequence drawTestSequence = funcs[k];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698