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

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

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
Index: third_party/WebKit/Source/core/svg/SVGPathBuilder.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPathBuilder.h b/third_party/WebKit/Source/core/svg/SVGPathBuilder.h
index 522bee4be769ae45792de594e70f13fd33d6a58c..5e5bc9872d0920d508b600c62cee4691ad0df328 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathBuilder.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathBuilder.h
@@ -37,8 +37,7 @@ class SVGPathBuilder final : public SVGPathConsumer {
public:
SVGPathBuilder(Path& path)
: m_path(path)
- // Starting in ClosePath state ensures correct handling of the first moveTo.
- , m_lastCommand(PathSegClosePath)
+ , m_lastCommand(PathSegUnknown)
{ }
private:

Powered by Google App Engine
This is Rietveld 408576698