Index: bench/ETCBitmapBench.cpp |
diff --git a/bench/ETCBitmapBench.cpp b/bench/ETCBitmapBench.cpp |
index db8e37ea1ed45894c77a60a24d8722e9fe7e462d..d4068ca88e069e575c04185dc2648cb8eb58262d 100644 |
--- a/bench/ETCBitmapBench.cpp |
+++ b/bench/ETCBitmapBench.cpp |
@@ -158,7 +158,7 @@ protected: |
} |
} |
- void onDraw(const int loops, SkCanvas* canvas) override { |
+ void onDraw(int loops, SkCanvas* canvas) override { |
for (int i = 0; i < loops; ++i) { |
if (fDecompress) { |
canvas->drawBitmap(this->fBitmap, 0, 0, nullptr); |
@@ -206,7 +206,7 @@ protected: |
} |
} |
- void onDraw(const int loops, SkCanvas* canvas) override { |
+ void onDraw(int loops, SkCanvas* canvas) override { |
SkPixelRef* pr = fBitmap.pixelRef(); |
for (int i = 0; i < loops; ++i) { |
if (pr) { |