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