Index: gm/perlinnoise.cpp |
diff --git a/gm/perlinnoise.cpp b/gm/perlinnoise.cpp |
index 098c690ec98c317cf792c6d8b5a70e2bd862d046..164c0213cd4c7b68d1079b95b5804421d5d8e346 100644 |
--- a/gm/perlinnoise.cpp |
+++ b/gm/perlinnoise.cpp |
@@ -72,7 +72,7 @@ protected: |
test(canvas, 100, 300, SkPerlinNoiseShader::kFractalNoise_Type, |
0.1f, 0.1f, 3, 4, false); |
- canvas->scale(SkFloatToScalar(0.75f), SkFloatToScalar(1.0f)); |
+ canvas->scale(0.75f, 1.0f); |
test(canvas, 0, 400, SkPerlinNoiseShader::kFractalNoise_Type, |
0.1f, 0.1f, 2, 0, false); |