Index: include/effects/SkPerlinNoiseShader.h |
diff --git a/include/effects/SkPerlinNoiseShader.h b/include/effects/SkPerlinNoiseShader.h |
index 03ae3832ca26aa49abf350ea8f37044b8f6514fd..9b06b2a572c36894dedee4f2a6bc347d02b1e55e 100644 |
--- a/include/effects/SkPerlinNoiseShader.h |
+++ b/include/effects/SkPerlinNoiseShader.h |
@@ -58,9 +58,19 @@ public: |
static SkShader* CreateFractalNoise(SkScalar baseFrequencyX, SkScalar baseFrequencyY, |
int numOctaves, SkScalar seed, |
const SkISize* tileSize = NULL); |
- static SkShader* CreateTubulence(SkScalar baseFrequencyX, SkScalar baseFrequencyY, |
+ static SkShader* CreateTurbulence(SkScalar baseFrequencyX, SkScalar baseFrequencyY, |
int numOctaves, SkScalar seed, |
const SkISize* tileSize = NULL); |
+ /** |
+ * Create alias for CreateTurbulunce until all Skia users changed |
+ * its code to use the new naming |
+ */ |
+ static SkShader* CreateTubulence(SkScalar baseFrequencyX, SkScalar baseFrequencyY, |
+ int numOctaves, SkScalar seed, |
+ const SkISize* tileSize = NULL) { |
+ return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); |
+ } |
+ |
virtual bool setContext(const SkBitmap& device, const SkPaint& paint, |
const SkMatrix& matrix); |