aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkFilterShader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkFilterShader.h')
-rw-r--r--src/core/SkFilterShader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkFilterShader.h b/src/core/SkFilterShader.h
index 629f3f8c9e..3f983e26d9 100644
--- a/src/core/SkFilterShader.h
+++ b/src/core/SkFilterShader.h
@@ -17,8 +17,6 @@ public:
SkFilterShader(SkShader* shader, SkColorFilter* filter);
virtual ~SkFilterShader();
- virtual bool validContext(const ContextRec&, SkMatrix* totalInverse) const SK_OVERRIDE;
- virtual SkShader::Context* createContext(const ContextRec&, void* storage) const SK_OVERRIDE;
virtual size_t contextSize() const SK_OVERRIDE;
class FilterShaderContext : public SkShader::Context {
@@ -44,6 +42,8 @@ public:
protected:
SkFilterShader(SkReadBuffer& );
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE;
+ virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE;
+
private:
SkShader* fShader;