Index: src/core/SkColorFilterShader.h |
diff --git a/src/core/SkColorFilterShader.h b/src/core/SkColorFilterShader.h |
index 60c45954dce9ea216a14a6cdd9112268beffefa4..0f41a43c49d72890f59b2f1544bea0288621362b 100644 |
--- a/src/core/SkColorFilterShader.h |
+++ b/src/core/SkColorFilterShader.h |
@@ -14,9 +14,7 @@ |
class SkColorFilterShader : public SkShader { |
public: |
SkColorFilterShader(SkShader* shader, SkColorFilter* filter); |
- |
- size_t contextSize(const ContextRec&) const override; |
- |
+ |
#if SK_SUPPORT_GPU |
const GrFragmentProcessor* asFragmentProcessor(GrContext*, |
const SkMatrix& viewM, |
@@ -51,9 +49,9 @@ public: |
protected: |
void flatten(SkWriteBuffer&) const override; |
+ size_t onContextSize(const ContextRec&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
- |
private: |
SkAutoTUnref<SkShader> fShader; |
SkAutoTUnref<SkColorFilter> fFilter; |