aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BitmapRectBench.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-10-01 09:43:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-01 09:43:39 -0700
commita1ebeb25e9acfcd801e089e063311d716b83b8a5 (patch)
tree1ac61bbbb5700af13c511b3525822d9d602968ea /bench/BitmapRectBench.cpp
parentaa48d36397f8464dafd38c3f42fbdfb1419e8778 (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/BitmapRectBench.cpp')
-rw-r--r--bench/BitmapRectBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp
index 93659c186c..7211ae256a 100644
--- a/bench/BitmapRectBench.cpp
+++ b/bench/BitmapRectBench.cpp
@@ -87,7 +87,7 @@ protected:
}
- void onDraw(const int loops, SkCanvas* canvas) override {
+ void onDraw(int loops, SkCanvas* canvas) override {
SkRandom rand;
SkPaint paint;