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

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

Issue 745383007: Fix an issue where hit detection could fail on rect and ellipse shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/RenderSVGShape.cpp
diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp
index e76afaacc011b0ebf3e68fe1e499b59d1b20b15f..ba165e170fbe40b02e817b9e280f9ff07656f15c 100644
--- a/Source/core/rendering/svg/RenderSVGShape.cpp
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp
@@ -264,8 +264,7 @@ bool RenderSVGShape::hasSmoothStroke() const
const SVGRenderStyle& svgStyle = style()->svgStyle();
return svgStyle.strokeDashArray()->isEmpty()
&& svgStyle.strokeMiterLimit() == SVGRenderStyle::initialStrokeMiterLimit()
- && svgStyle.joinStyle() == SVGRenderStyle::initialJoinStyle()
- && svgStyle.capStyle() == SVGRenderStyle::initialCapStyle();
+ && svgStyle.joinStyle() == SVGRenderStyle::initialJoinStyle();
}
}
« Source/core/rendering/svg/RenderSVGShape.h ('K') | « Source/core/rendering/svg/RenderSVGShape.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698