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

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

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy 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 0ff82bb1508bd3f8a958c037a8c60f0cb7b35909..6ff149b8a8727fb37bf385c76dd5d62d67a585c4 100644
--- a/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
+++ b/third_party/WebKit/Source/core/css/CSSBasicShapeValues.h
@@ -51,12 +51,12 @@ class CSSBasicShapeCircleValue final : public CSSValue {
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 @@ class CSSBasicShapeCircleValue final : public CSSValue {
Member<CSSValue> m_centerX;
Member<CSSValue> m_centerY;
- Member<CSSPrimitiveValue> m_radius;
+ Member<CSSValue> m_radius;
};
class CSSBasicShapeEllipseValue final : public CSSValue {
@@ -79,14 +79,14 @@ class CSSBasicShapeEllipseValue final : public CSSValue {
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 @@ class CSSBasicShapeEllipseValue final : public CSSValue {
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