Index: bench/MutexBench.cpp |
diff --git a/bench/MutexBench.cpp b/bench/MutexBench.cpp |
index ba92a43033871c045dd39a3c9e33b7adc6d3cf1b..d1d014d9398c63d96271fc61e4e64c83dcfbff39 100644 |
--- a/bench/MutexBench.cpp |
+++ b/bench/MutexBench.cpp |
@@ -23,7 +23,7 @@ protected: |
return fBenchName.c_str(); |
} |
- void onDraw(const int loops, SkCanvas*) override { |
+ void onDraw(int loops, SkCanvas*) override { |
for (int i = 0; i < loops; i++) { |
fMu.acquire(); |
fMu.release(); |
@@ -47,7 +47,7 @@ protected: |
return "SkSharedMutexSharedUncontendedBenchmark"; |
} |
- void onDraw(const int loops, SkCanvas*) override { |
+ void onDraw(int loops, SkCanvas*) override { |
for (int i = 0; i < loops; i++) { |
fMu.acquireShared(); |
fMu.releaseShared(); |