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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text
Patch Set: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text Created 3 years, 9 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: third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
index 507b19f5b8ea295006eee06437b5aadbd0525b44..6a1f0285b33e73c1c32b19208179e30802fe8b4f 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRect.cpp
@@ -141,7 +141,7 @@ bool LayoutSVGRect::definitelyHasSimpleStroke() const {
// of 1.4142135 should result in bevel joins, but may be drawn using miter
// joins).
return svgStyle.strokeDashArray()->isEmpty() &&
- svgStyle.joinStyle() == MiterJoin &&
+ style()->joinStyle() == MiterJoin &&
svgStyle.strokeMiterLimit() >= 1.5;
}

Powered by Google App Engine
This is Rietveld 408576698