Changeset 161569 in webkit for trunk/Source/WebCore/css/CSSBasicShapes.cpp
- Timestamp:
- Jan 9, 2014, 12:16:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSBasicShapes.cpp
r160023 r161569 79 79 m_radiusX.get() ? m_radiusX->cssText() : String(), 80 80 m_radiusY.get() ? m_radiusY->cssText() : String(), 81 m_ box ? m_box->cssText() : String());81 m_layoutBox ? m_layoutBox->cssText() : String()); 82 82 } 83 83 … … 94 94 && compareCSSValuePtr(m_radiusX, other.m_radiusX) 95 95 && compareCSSValuePtr(m_radiusY, other.m_radiusY) 96 && compareCSSValuePtr(m_ box, other.m_box);96 && compareCSSValuePtr(m_layoutBox, other.m_layoutBox); 97 97 } 98 98 … … 129 129 m_centerX ? m_centerX->cssText() : String(), 130 130 m_centerY ? m_centerY->cssText() : String(), 131 m_ box ? m_box->cssText() : String());131 m_layoutBox ? m_layoutBox->cssText() : String()); 132 132 } 133 133 … … 141 141 && compareCSSValuePtr(m_centerY, other.m_centerY) 142 142 && compareCSSValuePtr(m_radius, other.m_radius) 143 && compareCSSValuePtr(m_ box, other.m_box);143 && compareCSSValuePtr(m_layoutBox, other.m_layoutBox); 144 144 } 145 145 … … 165 165 String CSSDeprecatedBasicShapeCircle::cssText() const 166 166 { 167 return buildDeprecatedCircleString(m_centerX->cssText(), m_centerY->cssText(), m_radius->cssText(), m_ box ? m_box->cssText() : String());167 return buildDeprecatedCircleString(m_centerX->cssText(), m_centerY->cssText(), m_radius->cssText(), m_layoutBox ? m_layoutBox->cssText() : String()); 168 168 } 169 169 … … 177 177 && compareCSSValuePtr(m_centerY, other.m_centerY) 178 178 && compareCSSValuePtr(m_radius, other.m_radius) 179 && compareCSSValuePtr(m_ box, other.m_box);179 && compareCSSValuePtr(m_layoutBox, other.m_layoutBox); 180 180 } 181 181 … … 222 222 m_centerX ? m_centerX->cssText() : String(), 223 223 m_centerY ? m_centerY->cssText() : String(), 224 m_ box ? m_box->cssText() : String());224 m_layoutBox ? m_layoutBox->cssText() : String()); 225 225 } 226 226 … … 235 235 && compareCSSValuePtr(m_radiusX, other.m_radiusX) 236 236 && compareCSSValuePtr(m_radiusY, other.m_radiusY) 237 && compareCSSValuePtr(m_ box, other.m_box);237 && compareCSSValuePtr(m_layoutBox, other.m_layoutBox); 238 238 } 239 239 … … 261 261 String CSSDeprecatedBasicShapeEllipse::cssText() const 262 262 { 263 return buildDeprecatedEllipseString(m_centerX->cssText(), m_centerY->cssText(), m_radiusX->cssText(), m_radiusY->cssText(), m_ box ? m_box->cssText() : String());263 return buildDeprecatedEllipseString(m_centerX->cssText(), m_centerY->cssText(), m_radiusX->cssText(), m_radiusY->cssText(), m_layoutBox ? m_layoutBox->cssText() : String()); 264 264 } 265 265 … … 274 274 && compareCSSValuePtr(m_radiusX, other.m_radiusX) 275 275 && compareCSSValuePtr(m_radiusY, other.m_radiusY) 276 && compareCSSValuePtr(m_ box, other.m_box);276 && compareCSSValuePtr(m_layoutBox, other.m_layoutBox); 277 277 } 278 278 … … 332 332 points.append(m_values.at(i)->cssText()); 333 333 334 return buildPolygonString(m_windRule, points, m_ box ? m_box->cssText() : String());334 return buildPolygonString(m_windRule, points, m_layoutBox ? m_layoutBox->cssText() : String()); 335 335 } 336 336 … … 341 341 342 342 const CSSBasicShapePolygon& rhs = static_cast<const CSSBasicShapePolygon&>(shape); 343 return compareCSSValuePtr(m_ box, rhs.m_box)343 return compareCSSValuePtr(m_layoutBox, rhs.m_layoutBox) 344 344 && compareCSSValueVector<CSSPrimitiveValue>(m_values, rhs.m_values); 345 345 } … … 384 384 m_radiusX.get() ? m_radiusX->cssText() : String(), 385 385 m_radiusY.get() ? m_radiusY->cssText() : String(), 386 m_ box ? m_box->cssText() : String());386 m_layoutBox ? m_layoutBox->cssText() : String()); 387 387 } 388 388 … … 399 399 && compareCSSValuePtr(m_radiusX, other.m_radiusX) 400 400 && compareCSSValuePtr(m_radiusY, other.m_radiusY) 401 && compareCSSValuePtr(m_ box, other.m_box);401 && compareCSSValuePtr(m_layoutBox, other.m_layoutBox); 402 402 } 403 403 … … 515 515 bottomLeftRadiusWidth, 516 516 bottomLeftRadiusHeight, 517 m_ box ? m_box->cssText() : String());517 m_layoutBox ? m_layoutBox->cssText() : String()); 518 518 } 519 519
Note:
See TracChangeset
for help on using the changeset viewer.