| Index: Source/core/rendering/shapes/Shape.cpp
|
| diff --git a/Source/core/rendering/shapes/Shape.cpp b/Source/core/rendering/shapes/Shape.cpp
|
| index 5049386e831a47403c63f3d8acbe1e0f7e0b0de5..4dee938a7101876de73621e5c12a761648b19c57 100644
|
| --- a/Source/core/rendering/shapes/Shape.cpp
|
| +++ b/Source/core/rendering/shapes/Shape.cpp
|
| @@ -159,8 +159,8 @@ PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutS
|
| break;
|
| }
|
|
|
| - case BasicShape::BasicShapeEllipseType: {
|
| - const BasicShapeEllipse* ellipse = static_cast<const BasicShapeEllipse*>(basicShape);
|
| + case BasicShape::DeprecatedBasicShapeEllipseType: {
|
| + const DeprecatedBasicShapeEllipse* ellipse = static_cast<const DeprecatedBasicShapeEllipse*>(basicShape);
|
| float centerX = floatValueForLength(ellipse->centerX(), boxWidth);
|
| float centerY = floatValueForLength(ellipse->centerY(), boxHeight);
|
| float radiusX = floatValueForLength(ellipse->radiusX(), boxWidth);
|
| @@ -172,6 +172,12 @@ PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutS
|
| break;
|
| }
|
|
|
| + case BasicShape::BasicShapeEllipseType: {
|
| + // FIXME implement layout.
|
| + shape = createRectangleShape(FloatRect(0, 0, boxWidth, boxHeight), FloatSize(0, 0));
|
| + break;
|
| + }
|
| +
|
| case BasicShape::BasicShapePolygonType: {
|
| const BasicShapePolygon* polygon = static_cast<const BasicShapePolygon*>(basicShape);
|
| const Vector<Length>& values = polygon->values();
|
|
|