Index: bench/PerlinNoiseBench.cpp |
diff --git a/bench/PerlinNoiseBench.cpp b/bench/PerlinNoiseBench.cpp |
index 3fbb72309d0f2a2e3d479bffd8a87224a0036d77..7c4894d434132a047f958231b3b1080ccb04008b 100644 |
--- a/bench/PerlinNoiseBench.cpp |
+++ b/bench/PerlinNoiseBench.cpp |
@@ -21,7 +21,7 @@ protected: |
return "perlinnoise"; |
} |
- void onDraw(const int loops, SkCanvas* canvas) override { |
+ void onDraw(int loops, SkCanvas* canvas) override { |
this->test(loops, canvas, 0, 0, SkPerlinNoiseShader::kFractalNoise_Type, |
0.1f, 0.1f, 3, 0, false); |
} |
@@ -38,7 +38,7 @@ private: |
canvas->restore(); |
} |
- void test(const int loops, SkCanvas* canvas, int x, int y, SkPerlinNoiseShader::Type type, |
+ void test(int loops, SkCanvas* canvas, int x, int y, SkPerlinNoiseShader::Type type, |
float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, |
bool stitchTiles) { |
SkShader* shader = (type == SkPerlinNoiseShader::kFractalNoise_Type) ? |