Index: bench/RTreeBench.cpp |
diff --git a/bench/RTreeBench.cpp b/bench/RTreeBench.cpp |
index 61aa1542c97c57d31944dc7df9af9de6b9e7b16e..e4840500d39d5c6699716d62ddb7855555fad087 100644 |
--- a/bench/RTreeBench.cpp |
+++ b/bench/RTreeBench.cpp |
@@ -34,7 +34,7 @@ protected: |
const char* onGetName() override { |
return fName.c_str(); |
} |
- void onDraw(const int loops, SkCanvas* canvas) override { |
+ void onDraw(int loops, SkCanvas* canvas) override { |
SkRandom rand; |
SkAutoTMalloc<SkRect> rects(NUM_BUILD_RECTS); |
for (int i = 0; i < NUM_BUILD_RECTS; ++i) { |
@@ -76,7 +76,7 @@ protected: |
fTree.insert(rects.get(), NUM_QUERY_RECTS); |
} |
- void onDraw(const int loops, SkCanvas* canvas) override { |
+ void onDraw(int loops, SkCanvas* canvas) override { |
SkRandom rand; |
for (int i = 0; i < loops; ++i) { |
SkTDArray<int> hits; |