Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: third_party/WebKit/Source/core/css/CSSBasicShapeValues.h

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « third_party/WebKit/Source/core/css/BasicShapeFunctions.cpp ('k') | third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698