aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/GMBench.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/GMBench.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/GMBench.cpp')
-rw-r--r--bench/GMBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/GMBench.cpp b/bench/GMBench.cpp
index bcc83eb18c..57f0d3c519 100644
--- a/bench/GMBench.cpp
+++ b/bench/GMBench.cpp
@@ -21,7 +21,7 @@ bool GMBench::isSuitableFor(Backend backend) {
return kNonRendering_Backend != backend;
}
-void GMBench::onDraw(const int loops, SkCanvas* canvas) {
+void GMBench::onDraw(int loops, SkCanvas* canvas) {
// Do we care about timing the draw of the background (once)?
// Does the GM ever rely on drawBackground to lazily compute something?
fGM->drawBackground(canvas);