| Index: Source/core/rendering/shapes/RectangleShape.cpp
|
| diff --git a/Source/core/rendering/shapes/RectangleShape.cpp b/Source/core/rendering/shapes/RectangleShape.cpp
|
| index 5cf74cbc474302078607f1746082b3c063fafec1..eaf51424c832ef7439bc7bc2fb4cc7003daee970 100644
|
| --- a/Source/core/rendering/shapes/RectangleShape.cpp
|
| +++ b/Source/core/rendering/shapes/RectangleShape.cpp
|
| @@ -88,4 +88,11 @@ void RectangleShape::getExcludedIntervals(LayoutUnit logicalTop, LayoutUnit logi
|
| result.append(LineSegment(x1, x2));
|
| }
|
|
|
| +void RectangleShape::buildDisplayPaths(DisplayPaths& paths) const
|
| +{
|
| + paths.shape.addRoundedRect(m_bounds, m_radii);
|
| + if (shapeMargin())
|
| + paths.marginShape.addRoundedRect(shapeMarginBounds(), FloatSize(m_radii.width() + shapeMargin(), m_radii.height() + shapeMargin()));
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|