| Index: Source/core/rendering/shapes/Shape.cpp
|
| diff --git a/Source/core/rendering/shapes/Shape.cpp b/Source/core/rendering/shapes/Shape.cpp
|
| index 2b28990f320101209abd06fe3dda9f12f553d082..5eed2b19c326af77a92f5aca684b204b789c040a 100644
|
| --- a/Source/core/rendering/shapes/Shape.cpp
|
| +++ b/Source/core/rendering/shapes/Shape.cpp
|
| @@ -41,6 +41,7 @@
|
| #include "core/rendering/style/RenderStyle.h"
|
| #include "core/svg/graphics/SVGImage.h"
|
| #include "platform/LengthFunctions.h"
|
| +#include "platform/geometry/FloatRoundedRect.h"
|
| #include "platform/geometry/FloatSize.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| @@ -238,7 +239,7 @@ PassOwnPtr<Shape> Shape::createRasterShape(Image* image, float threshold, const
|
| return rasterShape.release();
|
| }
|
|
|
| -PassOwnPtr<Shape> Shape::createLayoutBoxShape(const RoundedRect& roundedRect, WritingMode writingMode, float margin)
|
| +PassOwnPtr<Shape> Shape::createLayoutBoxShape(const FloatRoundedRect& roundedRect, WritingMode writingMode, float margin)
|
| {
|
| FloatRect rect(0, 0, roundedRect.rect().width(), roundedRect.rect().height());
|
| FloatRoundedRect bounds(rect, roundedRect.radii());
|
|
|