Changeset 173175 in webkit for trunk/Source/WebCore/css/CSSBasicShapes.cpp
- Timestamp:
- Sep 2, 2014, 9:06:23 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSBasicShapes.cpp
r169406 r173175 129 129 return false; 130 130 131 const CSSBasicShapeCircle& other = static_cast<const CSSBasicShapeCircle&>(shape);131 const CSSBasicShapeCircle& other = toCSSBasicShapeCircle(shape); 132 132 return compareCSSValuePtr(m_centerX, other.m_centerX) 133 133 && compareCSSValuePtr(m_centerY, other.m_centerY) … … 202 202 return false; 203 203 204 const CSSBasicShapeEllipse& other = static_cast<const CSSBasicShapeEllipse&>(shape);204 const CSSBasicShapeEllipse& other = toCSSBasicShapeEllipse(shape); 205 205 return compareCSSValuePtr(m_centerX, other.m_centerX) 206 206 && compareCSSValuePtr(m_centerY, other.m_centerY) … … 273 273 return false; 274 274 275 const CSSBasicShapePolygon& rhs = static_cast<const CSSBasicShapePolygon&>(shape);275 const CSSBasicShapePolygon& rhs = toCSSBasicShapePolygon(shape); 276 276 return compareCSSValuePtr(m_referenceBox, rhs.m_referenceBox) 277 277 && compareCSSValueVector<CSSPrimitiveValue>(m_values, rhs.m_values); … … 408 408 return false; 409 409 410 const CSSBasicShapeInset& other = static_cast<const CSSBasicShapeInset&>(shape);410 const CSSBasicShapeInset& other = toCSSBasicShapeInset(shape); 411 411 return compareCSSValuePtr(m_top, other.m_top) 412 412 && compareCSSValuePtr(m_right, other.m_right)
Note:
See TracChangeset
for help on using the changeset viewer.