Index: experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
diff --git a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
index a129ef8bcda97bcf7590a04ab46027018f0c20a4..fac098ab52194c9b72feee0908d4244080efc0f8 100644 |
--- a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
+++ b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h |
@@ -80,12 +80,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 SkPerlinNoiseShader2& shader, const ContextRec&); |
@@ -118,6 +115,7 @@ public: |
protected: |
void flatten(SkWriteBuffer&) const override; |
+ size_t onContextSize(const ContextRec&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
private: |