From a1ebeb25e9acfcd801e089e063311d716b83b8a5 Mon Sep 17 00:00:00 2001 From: mtklein Date: Thu, 1 Oct 2015 09:43:39 -0700 Subject: Remove const from `const int loops`. This drives me nuts, and prevents `while (loops --> 0)`. BUG=skia: Review URL: https://codereview.chromium.org/1379923005 --- bench/TextBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/TextBench.cpp') diff --git a/bench/TextBench.cpp b/bench/TextBench.cpp index cc9537a22b..f2d7bd3968 100644 --- a/bench/TextBench.cpp +++ b/bench/TextBench.cpp @@ -111,7 +111,7 @@ protected: return fName.c_str(); } - void onDraw(const int loops, SkCanvas* canvas) override { + void onDraw(int loops, SkCanvas* canvas) override { const SkIPoint dim = this->getSize(); SkRandom rand; -- cgit v1.2.3