commit | a1ebeb25e9acfcd801e089e063311d716b83b8a5 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Thu Oct 01 09:43:39 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Oct 01 09:43:39 2015 -0700 |
tree | 1ac61bbbb5700af13c511b3525822d9d602968ea | |
parent | aa48d36397f8464dafd38c3f42fbdfb1419e8778 [diff] [blame] |
Remove const from `const int loops`. This drives me nuts, and prevents `while (loops --> 0)`. BUG=skia: Review URL: https://codereview.chromium.org/1379923005
diff --git a/tools/VisualBench/VisualLightweightBenchModule.cpp b/tools/VisualBench/VisualLightweightBenchModule.cpp index d54c788..cdb9318 100644 --- a/tools/VisualBench/VisualLightweightBenchModule.cpp +++ b/tools/VisualBench/VisualLightweightBenchModule.cpp
@@ -58,7 +58,7 @@ #include "BigPathBench.inc" } const char* onGetName() override { return "warmupbench"; } - void onDraw(const int loops, SkCanvas* canvas) override { + void onDraw(int loops, SkCanvas* canvas) override { SkPaint paint; paint.setStyle(SkPaint::kStroke_Style); paint.setStrokeWidth(2);