diff options
author | 2015-10-01 09:43:39 -0700 | |
---|---|---|
committer | 2015-10-01 09:43:39 -0700 | |
commit | a1ebeb25e9acfcd801e089e063311d716b83b8a5 (patch) | |
tree | 1ac61bbbb5700af13c511b3525822d9d602968ea /bench/PatchGridBench.cpp | |
parent | aa48d36397f8464dafd38c3f42fbdfb1419e8778 (diff) |
Remove const from `const int loops`.
This drives me nuts, and prevents `while (loops --> 0)`.
BUG=skia:
Review URL: https://codereview.chromium.org/1379923005
Diffstat (limited to 'bench/PatchGridBench.cpp')
-rw-r--r-- | bench/PatchGridBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/PatchGridBench.cpp b/bench/PatchGridBench.cpp index dc64b537ac..ef785320df 100644 --- a/bench/PatchGridBench.cpp +++ b/bench/PatchGridBench.cpp @@ -214,7 +214,7 @@ protected: this->setupPaint(&fPaint); } - void onDraw(const int loops, SkCanvas* canvas) override { + void onDraw(int loops, SkCanvas* canvas) override { this->setScale(canvas); for (int i = 0; i < loops; i++) { fGrid.draw(canvas, fPaint); |