Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: Source/core/rendering/svg/RenderSVGEllipse.cpp

Issue 810343003: Fix pointer-events:all when stroke="none" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove braces from single-line if statement Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..dee72713dc8a1f4a20fe0360668b8f1bc5fd24d7 100644
--- a/Source/core/rendering/svg/RenderSVGEllipse.cpp
+++ b/Source/core/rendering/svg/RenderSVGEllipse.cpp
@@ -71,8 +71,7 @@ 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_strokeBoundingBox.inflate(strokeWidth() / 2);
}
void RenderSVGEllipse::calculateRadiiAndCenter()

Powered by Google App Engine
This is Rietveld 408576698