#include "core/svg/SVGEllipseElement.h"
#include "platform/graphics/GraphicsContext.h"
-namespace WebCore {
+namespace blink {
RenderSVGEllipse::RenderSVGEllipse(SVGGraphicsElement* node)
: RenderSVGShape(node)
m_fillBoundingBox = FloatRect(m_center.x() - m_radii.width(), m_center.y() - m_radii.height(), 2 * m_radii.width(), 2 * m_radii.height());
m_strokeBoundingBox = m_fillBoundingBox;
- if (style()->svgStyle()->hasStroke())
+ if (style()->svgStyle().hasStroke())
m_strokeBoundingBox.inflate(strokeWidth() / 2);
}
void RenderSVGEllipse::strokeShape(GraphicsContext* context) const
{
- if (!style()->svgStyle()->hasVisibleStroke())
+ if (!style()->svgStyle().hasVisibleStroke())
return;
if (m_usePathFallback) {
RenderSVGShape::strokeShape(context);