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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathElement.cpp

Issue 1545713003: Add StylePath and use it to store 'd' in ComputedStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2015->2016; Remove unnecessary explicit. Created 4 years, 11 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 | « third_party/WebKit/Source/core/svg/SVGPathByteStream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
index cd50481b90443be91a68f5f6586b9dacac2bc86a..fb1f808cb01ee5362a7ac594d89bdee6e909736d 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
@@ -75,7 +75,7 @@ Path SVGPathElement::asPath() const
return svgStyle.d()->path();
}
- return m_path->currentValue()->pathValue()->path();
+ return m_path->currentValue()->pathValue()->cachedPath()->path();
}
const SVGPathByteStream& SVGPathElement::pathByteStream() const
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathByteStream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698