| Index: Source/core/css/CSSGradientValue.h
|
| diff --git a/Source/core/css/CSSGradientValue.h b/Source/core/css/CSSGradientValue.h
|
| index dfaa5a6d905d6b606d2c52f73603313c1ff40d9d..7179b6fff8030d9220e50e4c19394af70c7c7107 100644
|
| --- a/Source/core/css/CSSGradientValue.h
|
| +++ b/Source/core/css/CSSGradientValue.h
|
| @@ -110,10 +110,10 @@ protected:
|
| {
|
| }
|
|
|
| - void addStops(Gradient*, RenderObject*, RenderStyle* rootStyle, float maxLengthForRepeat = 0);
|
| + void addStops(Gradient*, const CSSToLengthConversionData&, float maxLengthForRepeat = 0);
|
|
|
| // Resolve points/radii to front end values.
|
| - FloatPoint computeEndPoint(CSSPrimitiveValue*, CSSPrimitiveValue*, RenderStyle*, RenderStyle* rootStyle, const IntSize&);
|
| + FloatPoint computeEndPoint(CSSPrimitiveValue*, CSSPrimitiveValue*, const CSSToLengthConversionData&, const IntSize&);
|
|
|
| bool isCacheable() const;
|
|
|
| @@ -146,7 +146,7 @@ public:
|
| String customCSSText() const;
|
|
|
| // Create the gradient for a given size.
|
| - PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
|
| + PassRefPtr<Gradient> createGradient(const CSSToLengthConversionData&, const IntSize&);
|
|
|
| PassRefPtr<CSSLinearGradientValue> clone() const
|
| {
|
| @@ -196,7 +196,7 @@ public:
|
| void setEndVerticalSize(PassRefPtr<CSSPrimitiveValue> val) { m_endVerticalSize = val; }
|
|
|
| // Create the gradient for a given size.
|
| - PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);
|
| + PassRefPtr<Gradient> createGradient(const CSSToLengthConversionData&, const IntSize&);
|
|
|
| bool equals(const CSSRadialGradientValue&) const;
|
|
|
| @@ -219,7 +219,7 @@ private:
|
|
|
|
|
| // Resolve points/radii to front end values.
|
| - float resolveRadius(CSSPrimitiveValue*, RenderStyle*, RenderStyle* rootStyle, float* widthOrHeight = 0);
|
| + float resolveRadius(CSSPrimitiveValue*, const CSSToLengthConversionData&, float* widthOrHeight = 0);
|
|
|
| // These may be null for non-deprecated gradients.
|
| RefPtr<CSSPrimitiveValue> m_firstRadius;
|
|
|