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

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

Issue 2858913002: Simplify the SVGGraphicsElement ...CTM methods (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
index 1c6022dc59e94af722ed3b7fb0513ae42c722094..bfe6efc2746b608548df74a23fe915e07f4d34a8 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp
@@ -228,8 +228,7 @@ Path* LayoutSVGShape::NonScalingStrokePath(
AffineTransform LayoutSVGShape::NonScalingStrokeTransform() const {
AffineTransform t =
- ToSVGGraphicsElement(GetElement())
- ->GetScreenCTM(SVGGraphicsElement::kDisallowStyleUpdate);
+ ToSVGGraphicsElement(GetElement())->ComputeCTM(SVGElement::kScreenScope);
// Width of non-scaling stroke is independent of translation, so zero it out
// here.
t.SetE(0);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698