Index: include/effects/SkPerlinNoiseShader.h |
diff --git a/include/effects/SkPerlinNoiseShader.h b/include/effects/SkPerlinNoiseShader.h |
index e9c22d44fc9812bd44e3e58869603e8902afa604..d9b0277f92609c5616e399c0d8ba734a5a1b6575 100644 |
--- a/include/effects/SkPerlinNoiseShader.h |
+++ b/include/effects/SkPerlinNoiseShader.h |
@@ -68,12 +68,9 @@ public: |
static SkShader* CreateTubulence(SkScalar baseFrequencyX, SkScalar baseFrequencyY, |
int numOctaves, SkScalar seed, |
const SkISize* tileSize = NULL) { |
- return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); |
+ return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); |
} |
- |
- size_t contextSize(const ContextRec&) const override; |
- |
class PerlinNoiseShaderContext : public SkShader::Context { |
public: |
PerlinNoiseShaderContext(const SkPerlinNoiseShader& shader, const ContextRec&); |
@@ -106,6 +103,7 @@ public: |
protected: |
void flatten(SkWriteBuffer&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
+ size_t onContextSize(const ContextRec&) const override; |
private: |
SkPerlinNoiseShader(SkPerlinNoiseShader::Type type, SkScalar baseFrequencyX, |