| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 8f176c40d74a9b073c9d7546c2066bc0600b1f9c..2bf77db422f5707a56f4a906df7b2dda6eaa3d09 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -1062,8 +1062,7 @@ FloatPoint RenderLayer::perspectiveOrigin() const
|
| const LayoutRect borderBox = toRenderBox(renderer())->borderBoxRect();
|
| RenderStyle* style = renderer()->style();
|
|
|
| - return FloatPoint(floatValueForLength(style->perspectiveOriginX(), borderBox.width()),
|
| - floatValueForLength(style->perspectiveOriginY(), borderBox.height()));
|
| + return FloatPoint(floatValueForLength(style->perspectiveOriginX(), borderBox.width().toFloat()), floatValueForLength(style->perspectiveOriginY(), borderBox.height().toFloat()));
|
| }
|
|
|
| static inline bool isFixedPositionedContainer(RenderLayer* layer)
|
|
|