| Index: Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGEllipse.cpp b/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| index 3d8f8c0cc1a3d359c2b5d29dfafd7c1d8e1779b1..66ac961ce5bc8885d869b849c4e6d79ccfb7e394 100644
|
| --- a/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGEllipse.cpp
|
| @@ -49,7 +49,6 @@
|
| // to avoid using garbage.
|
| m_fillBoundingBox = FloatRect();
|
| m_strokeBoundingBox = FloatRect();
|
| - m_hitTestStrokeBoundingBox = FloatRect();
|
| m_center = FloatPoint();
|
| m_radii = FloatSize();
|
| m_usePathFallback = false;
|
| @@ -71,9 +70,9 @@
|
| }
|
|
|
| m_fillBoundingBox = FloatRect(m_center.x() - m_radii.width(), m_center.y() - m_radii.height(), 2 * m_radii.width(), 2 * m_radii.height());
|
| - m_hitTestStrokeBoundingBox = m_fillBoundingBox;
|
| - m_hitTestStrokeBoundingBox.inflate(strokeWidth() / 2);
|
| - m_strokeBoundingBox = style()->svgStyle().hasStroke() ? m_hitTestStrokeBoundingBox : m_fillBoundingBox;
|
| + m_strokeBoundingBox = m_fillBoundingBox;
|
| + if (style()->svgStyle().hasStroke())
|
| + m_strokeBoundingBox.inflate(strokeWidth() / 2);
|
| }
|
|
|
| void RenderSVGEllipse::calculateRadiiAndCenter()
|
|
|