Index: src/effects/gradients/SkTwoPointConicalGradient.h |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.h b/src/effects/gradients/SkTwoPointConicalGradient.h |
index 5783c39bd4769e7274064fd086ec02311d69430d..954b09698eec907016be913e14a46e6531a3cb99 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.h |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.h |
@@ -45,6 +45,9 @@ |
const SkPoint& end, SkScalar endRadius, |
bool flippedGrad, const Descriptor&); |
+ |
+ size_t contextSize(const ContextRec&) const override; |
+ |
class TwoPointConicalGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { |
public: |
TwoPointConicalGradientContext(const SkTwoPointConicalGradient&, const ContextRec&); |
@@ -79,7 +82,6 @@ |
protected: |
SkTwoPointConicalGradient(SkReadBuffer& buffer); |
void flatten(SkWriteBuffer& buffer) const override; |
- size_t onContextSize(const ContextRec&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
private: |