| Index: Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGEllipse.cpp b/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| index 66ac961ce5bc8885d869b849c4e6d79ccfb7e394..4c9cdacb1e9ef2b829e73815b32e9180fb8c1d3a 100644
|
| --- a/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| @@ -48,7 +48,7 @@ void RenderSVGEllipse::updateShapeFromElement()
|
| // Before creating a new object we need to clear the cached bounding box
|
| // to avoid using garbage.
|
| m_fillBoundingBox = FloatRect();
|
| - m_strokeBoundingBox = FloatRect();
|
| + m_hitTestStrokeBoundingBox = FloatRect();
|
| m_center = FloatPoint();
|
| m_radii = FloatSize();
|
| m_usePathFallback = false;
|
| @@ -70,9 +70,8 @@ void RenderSVGEllipse::updateShapeFromElement()
|
| }
|
|
|
| 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())
|
| - m_strokeBoundingBox.inflate(strokeWidth() / 2);
|
| + m_hitTestStrokeBoundingBox = m_fillBoundingBox;
|
| + m_hitTestStrokeBoundingBox.inflate(strokeWidth() / 2);
|
| }
|
|
|
| void RenderSVGEllipse::calculateRadiiAndCenter()
|
|
|