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

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

Issue 1635323002: [SVG] Fix SVGPathBuilder subpath point tracking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: specific m_lastCommand initializer no longer required 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/SVGPathBuilder.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/SVGPathBuilder.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp b/third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp
index 0fcd3385a1a3c1f87ea3270526eac45166ab8f77..96f43a2071da30b3cfe6f500a62725d4ef548e8c 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGPathBuilder.cpp
@@ -56,12 +56,7 @@ void SVGPathBuilder::emitMoveTo(const FloatPoint& p)
{
m_path.moveTo(p);
- // If a "closepath" is followed immediately by a "moveto", then
- // the "moveto" identifies the start point of the next subpath.
- // [https://www.w3.org/TR/SVG/paths.html#PathDataClosePathCommand]
- if (m_lastCommand == PathSegClosePath)
- m_subpathPoint = p;
-
+ m_subpathPoint = p;
m_currentPoint = p;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathBuilder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698