| Index: third_party/WebKit/Source/platform/graphics/Gradient.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Gradient.h b/third_party/WebKit/Source/platform/graphics/Gradient.h
|
| index e4260b945c0e4f2b0061cbf7cb7be2f6ec394755..bb4832b4f01111bf5d06547ea7f6c4a5208186a1 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Gradient.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Gradient.h
|
| @@ -96,37 +96,9 @@ class PLATFORM_EXPORT Gradient : public RefCounted<Gradient> {
|
| const FloatPoint& p0() const { return m_p0; }
|
| const FloatPoint& p1() const { return m_p1; }
|
|
|
| - void setP0(const FloatPoint& p) {
|
| - if (m_p0 == p)
|
| - return;
|
| -
|
| - m_p0 = p;
|
| - }
|
| -
|
| - void setP1(const FloatPoint& p) {
|
| - if (m_p1 == p)
|
| - return;
|
| -
|
| - m_p1 = p;
|
| - }
|
| -
|
| float startRadius() const { return m_r0; }
|
| float endRadius() const { return m_r1; }
|
|
|
| - void setStartRadius(float r) {
|
| - if (m_r0 == r)
|
| - return;
|
| -
|
| - m_r0 = r;
|
| - }
|
| -
|
| - void setEndRadius(float r) {
|
| - if (m_r1 == r)
|
| - return;
|
| -
|
| - m_r1 = r;
|
| - }
|
| -
|
| void applyToFlags(PaintFlags&, const SkMatrix& localMatrix);
|
|
|
| GradientSpreadMethod spreadMethod() const { return m_spreadMethod; }
|
|
|