Index: src/effects/gradients/SkRadialGradient.h |
diff --git a/src/effects/gradients/SkRadialGradient.h b/src/effects/gradients/SkRadialGradient.h |
index 428d7fae79e1e8d88247ba53e04a28f12c7f3607..9d98f183040eac35ba6d73e2426a35908c9697ea 100644 |
--- a/src/effects/gradients/SkRadialGradient.h |
+++ b/src/effects/gradients/SkRadialGradient.h |
@@ -14,6 +14,8 @@ |
class SkRadialGradient : public SkGradientShaderBase { |
public: |
SkRadialGradient(const SkPoint& center, SkScalar radius, const Descriptor&); |
+ |
+ size_t contextSize(const ContextRec&) const override; |
class RadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { |
public: |
@@ -39,7 +41,6 @@ |
protected: |
SkRadialGradient(SkReadBuffer& buffer); |
void flatten(SkWriteBuffer& buffer) const override; |
- size_t onContextSize(const ContextRec&) const override; |
Context* onCreateContext(const ContextRec&, void* storage) const override; |
private: |