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

Unified Diff: bench/AAClipBench.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 | « no previous file | bench/AlternatingColorPatternBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/AAClipBench.cpp
diff --git a/bench/AAClipBench.cpp b/bench/AAClipBench.cpp
index 978a371134021751a9da782fac6071b2639093c0..657b6ffdc630490c74f605201077681a3d1f788b 100644
--- a/bench/AAClipBench.cpp
+++ b/bench/AAClipBench.cpp
@@ -43,7 +43,7 @@ public:
protected:
virtual const char* onGetName() { return fName.c_str(); }
- virtual void onDraw(const int loops, SkCanvas* canvas) {
+ virtual void onDraw(int loops, SkCanvas* canvas) {
SkPaint paint;
this->setupPaint(&paint);
@@ -158,7 +158,7 @@ protected:
canvas->restore();
}
- virtual void onDraw(const int loops, SkCanvas* canvas) {
+ virtual void onDraw(int loops, SkCanvas* canvas) {
for (int i = 0; i < loops; ++i) {
SkPoint offset = SkPoint::Make(0, 0);
@@ -195,7 +195,7 @@ public:
protected:
virtual const char* onGetName() { return fName.c_str(); }
- virtual void onDraw(const int loops, SkCanvas*) {
+ virtual void onDraw(int loops, SkCanvas*) {
SkPaint paint;
this->setupPaint(&paint);
@@ -230,7 +230,7 @@ public:
protected:
virtual const char* onGetName() { return "aaclip_setregion"; }
- virtual void onDraw(const int loops, SkCanvas*) {
+ virtual void onDraw(int loops, SkCanvas*) {
for (int i = 0; i < loops; ++i) {
SkAAClip clip;
clip.setRegion(fRegion);
« no previous file with comments | « no previous file | bench/AlternatingColorPatternBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698