| Index: Source/core/rendering/RenderBoxModelObject.cpp
|
| diff --git a/Source/core/rendering/RenderBoxModelObject.cpp b/Source/core/rendering/RenderBoxModelObject.cpp
|
| index 6e65f69ea36471d80e30018b2115098f56be64ee..aea8ca512dcc403a40f197ecf9441750239ef4b2 100644
|
| --- a/Source/core/rendering/RenderBoxModelObject.cpp
|
| +++ b/Source/core/rendering/RenderBoxModelObject.cpp
|
| @@ -2031,7 +2031,7 @@ void RenderBoxModelObject::clipBorderSidePolygon(GraphicsContext* graphicsContex
|
| const LayoutRect& outerRect = outerBorder.rect();
|
| const LayoutRect& innerRect = innerBorder.rect();
|
|
|
| - FloatPoint centerPoint(innerRect.location().x() + static_cast<float>(innerRect.width()) / 2, innerRect.location().y() + static_cast<float>(innerRect.height()) / 2);
|
| + FloatPoint centerPoint(innerRect.location().x().toFloat() + innerRect.width().toFloat() / 2, innerRect.location().y().toFloat() + innerRect.height().toFloat() / 2);
|
|
|
| // For each side, create a quad that encompasses all parts of that side that may draw,
|
| // including areas inside the innerBorder.
|
|
|