Index: src/effects/gradients/SkRadialGradient.h |
diff --git a/src/effects/gradients/SkRadialGradient.h b/src/effects/gradients/SkRadialGradient.h |
index 873024730d4678bb7d3ff1d3894d8f2bb8444a1f..2c60ba5e0816d90908cf5e3e29175f7ade5946db 100644 |
--- a/src/effects/gradients/SkRadialGradient.h |
+++ b/src/effects/gradients/SkRadialGradient.h |
@@ -16,7 +16,6 @@ public: |
SkRadialGradient(const SkPoint& center, SkScalar radius, const Descriptor&, |
const SkMatrix* localMatrix); |
- virtual SkShader::Context* createContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
virtual size_t contextSize() const SK_OVERRIDE; |
class RadialGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { |
@@ -42,6 +41,7 @@ public: |
protected: |
SkRadialGradient(SkReadBuffer& buffer); |
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; |
+ virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
private: |
typedef SkGradientShaderBase INHERITED; |