Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: bench/InterpBench.cpp

Issue 1379923005: Remove const from `const int loops`. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: n too Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/ImageFilterDAGBench.cpp ('k') | bench/LightingBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/InterpBench.cpp
diff --git a/bench/InterpBench.cpp b/bench/InterpBench.cpp
index 8171131ebc3bc084feb26889092fb1985167d28e..b95f57d50df99aa100668e6069a88c8c42f2c47d 100644
--- a/bench/InterpBench.cpp
+++ b/bench/InterpBench.cpp
@@ -42,7 +42,7 @@ protected:
return fName.c_str();
}
- void onDraw(const int loops, SkCanvas*) override {
+ void onDraw(int loops, SkCanvas*) override {
int n = loops * this->mulLoopCount();
for (int i = 0; i < n; i++) {
this->performTest(fDst, fFx, fDx, kBuffer);
« no previous file with comments | « bench/ImageFilterDAGBench.cpp ('k') | bench/LightingBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698