| Index: Source/core/rendering/shapes/Shape.cpp
|
| diff --git a/Source/core/rendering/shapes/Shape.cpp b/Source/core/rendering/shapes/Shape.cpp
|
| index ffe05053133ffaf4f86d1ab3f9f4067f1aa5197d..c45b5b4a2c1cf9d1efe7034c3622c7eecb2a2457 100644
|
| --- a/Source/core/rendering/shapes/Shape.cpp
|
| +++ b/Source/core/rendering/shapes/Shape.cpp
|
| @@ -138,8 +138,8 @@ PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutS
|
| break;
|
| }
|
|
|
| - case BasicShape::BasicShapeCircleType: {
|
| - const BasicShapeCircle* circle = static_cast<const BasicShapeCircle*>(basicShape);
|
| + case BasicShape::DeprecatedBasicShapeCircleType: {
|
| + const DeprecatedBasicShapeCircle* circle = static_cast<const DeprecatedBasicShapeCircle*>(basicShape);
|
| float centerX = floatValueForLength(circle->centerX(), boxWidth);
|
| float centerY = floatValueForLength(circle->centerY(), boxHeight);
|
| // This method of computing the radius is as defined in SVG
|
| @@ -153,6 +153,12 @@ PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutS
|
| break;
|
| }
|
|
|
| + case BasicShape::BasicShapeCircleType: {
|
| + // FIXME implement layout.
|
| + shape = createRectangleShape(FloatRect(0, 0, boxWidth, boxHeight), FloatSize(0, 0));
|
| + break;
|
| + }
|
| +
|
| case BasicShape::BasicShapeEllipseType: {
|
| const BasicShapeEllipse* ellipse = static_cast<const BasicShapeEllipse*>(basicShape);
|
| float centerX = floatValueForLength(ellipse->centerX(), boxWidth);
|
|
|