| Index: Source/core/rendering/shapes/Shape.cpp
|
| diff --git a/Source/core/rendering/shapes/Shape.cpp b/Source/core/rendering/shapes/Shape.cpp
|
| index ea562f3e557f13772f8f1679cb0aa14f318488c7..9f74bc9590888b060bb95fdcc5df40d30b0f76f6 100644
|
| --- a/Source/core/rendering/shapes/Shape.cpp
|
| +++ b/Source/core/rendering/shapes/Shape.cpp
|
| @@ -235,11 +235,11 @@ PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutS
|
| FloatRect logicalRect = physicalRectToLogical(rect, logicalBoxSize.height(), writingMode);
|
|
|
| FloatSize boxSize(boxWidth, boxHeight);
|
| - FloatRoundedRect::Radii cornerRadii(
|
| - floatSizeForLengthSize(inset.topLeftRadius(), boxSize),
|
| - floatSizeForLengthSize(inset.topRightRadius(), boxSize),
|
| - floatSizeForLengthSize(inset.bottomLeftRadius(), boxSize),
|
| - floatSizeForLengthSize(inset.bottomRightRadius(), boxSize));
|
| + FloatSize topLeftRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.topLeftRadius(), boxSize), writingMode);
|
| + FloatSize topRightRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.topRightRadius(), boxSize), writingMode);
|
| + FloatSize bottomLeftRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.bottomLeftRadius(), boxSize), writingMode);
|
| + FloatSize bottomRightRadius = physicalSizeToLogical(floatSizeForLengthSize(inset.bottomRightRadius(), boxSize), writingMode);
|
| + FloatRoundedRect::Radii cornerRadii(topLeftRadius, topRightRadius, bottomLeftRadius, bottomRightRadius);
|
|
|
| shape = createInsetShape(FloatRoundedRect(logicalRect, cornerRadii));
|
| break;
|
|
|