Index: src/effects/gradients/SkLinearGradient.h |
diff --git a/src/effects/gradients/SkLinearGradient.h b/src/effects/gradients/SkLinearGradient.h |
index d9ffc77c1279a007f99760d40f345973478354b7..e892fe33d0b9ee0e80542552997acc1cb3081601 100644 |
--- a/src/effects/gradients/SkLinearGradient.h |
+++ b/src/effects/gradients/SkLinearGradient.h |
@@ -14,7 +14,6 @@ class SkLinearGradient : public SkGradientShaderBase { |
public: |
SkLinearGradient(const SkPoint pts[2], const Descriptor&, const SkMatrix* localMatrix); |
- virtual SkShader::Context* createContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
virtual size_t contextSize() const SK_OVERRIDE; |
class LinearGradientContext : public SkGradientShaderBase::GradientShaderBaseContext { |
@@ -39,6 +38,7 @@ public: |
protected: |
SkLinearGradient(SkReadBuffer& buffer); |
virtual void flatten(SkWriteBuffer& buffer) const SK_OVERRIDE; |
+ virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE; |
private: |
typedef SkGradientShaderBase INHERITED; |