| Index: Source/core/rendering/shapes/BoxShape.cpp
|
| diff --git a/Source/core/rendering/shapes/BoxShape.cpp b/Source/core/rendering/shapes/BoxShape.cpp
|
| index fe82e857d9a2f56fa3d341f06a9225432a95114a..bba80270c5537e427243fce46077b35173d9084c 100644
|
| --- a/Source/core/rendering/shapes/BoxShape.cpp
|
| +++ b/Source/core/rendering/shapes/BoxShape.cpp
|
| @@ -100,4 +100,11 @@ void BoxShape::getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logicalHei
|
| result.append(LineSegment(x1, x2));
|
| }
|
|
|
| +void BoxShape::buildDisplayPaths(DisplayPaths& paths) const
|
| +{
|
| + paths.shape.addRoundedRect(m_bounds.rect(), m_bounds.radii().topLeft(), m_bounds.radii().topRight(), m_bounds.radii().bottomLeft(), m_bounds.radii().bottomRight());
|
| + if (shapeMargin())
|
| + paths.marginShape.addRoundedRect(shapeMarginBounds().rect(), shapeMarginBounds().radii().topLeft(), shapeMarginBounds().radii().topRight(), shapeMarginBounds().radii().bottomLeft(), shapeMarginBounds().radii().bottomRight());
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|