Index: src/effects/gradients/SkTwoPointConicalGradient.h |
diff --git a/src/effects/gradients/SkTwoPointConicalGradient.h b/src/effects/gradients/SkTwoPointConicalGradient.h |
index 1c5e409af00ccc4f44bf852f845d6202fc67cf7f..85e0bc0b4eccd7747e785d27bb1a72fcfcbf9396 100644 |
--- a/src/effects/gradients/SkTwoPointConicalGradient.h |
+++ b/src/effects/gradients/SkTwoPointConicalGradient.h |
@@ -48,7 +48,6 @@ public: |
const SkMatrix* localMatrix); |
- virtual SkShader::Context* createContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
virtual size_t contextSize() const SK_OVERRIDE; |
class TwoPointConicalGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { |
@@ -83,6 +82,7 @@ public: |
protected: |
SkTwoPointConicalGradient(SkReadBuffer& buffer); |
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; |
+ virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
private: |
SkPoint fCenter1; |