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

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: Restore CSSPathValue::equals. 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
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 b21d54b4fe04c914bab5a2e8d04a3417dcfb51dd..8b1a81e105f18d7b112279239f246b57103706ae 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp
@@ -78,7 +78,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

Powered by Google App Engine
This is Rietveld 408576698