Index: include/effects/SkPerlinNoiseShader.h |
diff --git a/include/effects/SkPerlinNoiseShader.h b/include/effects/SkPerlinNoiseShader.h |
index d9b0277f92609c5616e399c0d8ba734a5a1b6575..e9c22d44fc9812bd44e3e58869603e8902afa604 100644 |
--- a/include/effects/SkPerlinNoiseShader.h |
+++ b/include/effects/SkPerlinNoiseShader.h |
@@ -68,8 +68,11 @@ |
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: |
@@ -103,7 +106,6 @@ |
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, |