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

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..92e822d3146ad2acb68869289c1cf5e0e26301bc 100644
--- a/Source/core/rendering/svg/RenderSVGShape.cpp
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp
@@ -259,13 +259,4 @@ float RenderSVGShape::strokeWidth() const
return style()->svgStyle().strokeWidth()->value(lengthContext);
}
-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();
-}
-
}
« Source/core/rendering/svg/RenderSVGRect.cpp ('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