Index: third_party/WebKit/Source/core/css/CSSBasicShapeValues.h |
diff --git a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h |
index 0cd674146766ded920eaeff48b10ba70883f9b7a..74f561a25dd11ec585c3e99773ac1f2de976a890 100644 |
--- a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h |
+++ b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h |
@@ -49,12 +49,12 @@ public: |
CSSValue* centerX() const { return m_centerX.get(); } |
CSSValue* centerY() const { return m_centerY.get(); } |
- CSSPrimitiveValue* radius() const { return m_radius.get(); } |
+ CSSValue* radius() const { return m_radius.get(); } |
// TODO(sashab): Remove these and pass them as arguments in the constructor. |
void setCenterX(CSSValue* centerX) { m_centerX = centerX; } |
void setCenterY(CSSValue* centerY) { m_centerY = centerY; } |
- void setRadius(CSSPrimitiveValue* radius) { m_radius = radius; } |
+ void setRadius(CSSValue* radius) { m_radius = radius; } |
DECLARE_TRACE_AFTER_DISPATCH(); |
@@ -65,7 +65,7 @@ private: |
Member<CSSValue> m_centerX; |
Member<CSSValue> m_centerY; |
- Member<CSSPrimitiveValue> m_radius; |
+ Member<CSSValue> m_radius; |
}; |
class CSSBasicShapeEllipseValue final : public CSSValue { |
@@ -77,14 +77,14 @@ public: |
CSSValue* centerX() const { return m_centerX.get(); } |
CSSValue* centerY() const { return m_centerY.get(); } |
- CSSPrimitiveValue* radiusX() const { return m_radiusX.get(); } |
- CSSPrimitiveValue* radiusY() const { return m_radiusY.get(); } |
+ CSSValue* radiusX() const { return m_radiusX.get(); } |
+ CSSValue* radiusY() const { return m_radiusY.get(); } |
// TODO(sashab): Remove these and pass them as arguments in the constructor. |
void setCenterX(CSSValue* centerX) { m_centerX = centerX; } |
void setCenterY(CSSValue* centerY) { m_centerY = centerY; } |
- void setRadiusX(CSSPrimitiveValue* radiusX) { m_radiusX = radiusX; } |
- void setRadiusY(CSSPrimitiveValue* radiusY) { m_radiusY = radiusY; } |
+ void setRadiusX(CSSValue* radiusX) { m_radiusX = radiusX; } |
+ void setRadiusY(CSSValue* radiusY) { m_radiusY = radiusY; } |
DECLARE_TRACE_AFTER_DISPATCH(); |
@@ -95,8 +95,8 @@ private: |
Member<CSSValue> m_centerX; |
Member<CSSValue> m_centerY; |
- Member<CSSPrimitiveValue> m_radiusX; |
- Member<CSSPrimitiveValue> m_radiusY; |
+ Member<CSSValue> m_radiusX; |
+ Member<CSSValue> m_radiusY; |
}; |
class CSSBasicShapePolygonValue final : public CSSValue { |