| Index: src/core/SkColorFilterShader.h
|
| diff --git a/src/core/SkColorFilterShader.h b/src/core/SkColorFilterShader.h
|
| index 167a272fa4e8ca6914a170040f8c17984900f6e4..e42d06c6679017ed7f20b2f642053e621d266d30 100644
|
| --- a/src/core/SkColorFilterShader.h
|
| +++ b/src/core/SkColorFilterShader.h
|
| @@ -27,9 +27,9 @@ public:
|
| // Takes ownership of shaderContext and calls its destructor.
|
| FilterShaderContext(const SkColorFilterShader&, SkShader::Context*, const ContextRec&);
|
| virtual ~FilterShaderContext();
|
| -
|
| +
|
| uint32_t getFlags() const override;
|
| -
|
| +
|
| void shadeSpan(int x, int y, SkPMColor[], int count) override;
|
| void shadeSpan4f(int x, int y, SkPM4f[], int count) override;
|
|
|
| @@ -37,25 +37,25 @@ public:
|
| // forward to our proxy
|
| fShaderContext->set3DMask(mask);
|
| }
|
| -
|
| +
|
| private:
|
| SkShader::Context* fShaderContext;
|
| -
|
| +
|
| typedef SkShader::Context INHERITED;
|
| };
|
| -
|
| +
|
| SK_TO_STRING_OVERRIDE()
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorFilterShader)
|
| -
|
| +
|
| protected:
|
| void flatten(SkWriteBuffer&) const override;
|
| size_t onContextSize(const ContextRec&) const override;
|
| Context* onCreateContext(const ContextRec&, void* storage) const override;
|
| -
|
| +
|
| private:
|
| sk_sp<SkShader> fShader;
|
| sk_sp<SkColorFilter> fFilter;
|
| -
|
| +
|
| typedef SkShader INHERITED;
|
| };
|
|
|
|
|