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

Unified Diff: Source/core/svg/SVGPathSegListBuilder.h

Issue 734053005: Remove globalSVGPath* from SVGPathUtilities.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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: Source/core/svg/SVGPathSegListBuilder.h
diff --git a/Source/core/svg/SVGPathSegListBuilder.h b/Source/core/svg/SVGPathSegListBuilder.h
index e89fdfa35cf41c48febf20cca744cbc8b95990cb..e0bee4b21db12c630b59bbc699ecc5e06ecd4e00 100644
--- a/Source/core/svg/SVGPathSegListBuilder.h
+++ b/Source/core/svg/SVGPathSegListBuilder.h
@@ -35,21 +35,13 @@ class SVGPathElement;
class SVGPathSegListBuilder final : public SVGPathConsumer {
public:
- SVGPathSegListBuilder();
-
- void setCurrentSVGPathElement(SVGPathElement* pathElement) { m_pathElement = pathElement; }
- void setCurrentSVGPathSegList(PassRefPtrWillBeRawPtr<SVGPathSegList> pathSegList) { m_pathSegList = pathSegList; }
+ SVGPathSegListBuilder(SVGPathElement*, PassRefPtrWillBeRawPtr<SVGPathSegList>);
virtual void trace(Visitor*) override;
private:
virtual void incrementPathSegmentCount() override { }
virtual bool continueConsuming() override { return true; }
- virtual void cleanup() override
- {
- m_pathElement = nullptr;
- m_pathSegList = nullptr;
- }
// Used in UnalteredParsing/NormalizedParsing modes.
virtual void moveTo(const FloatPoint&, bool closed, PathCoordinateMode) override;

Powered by Google App Engine
This is Rietveld 408576698