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

Unified Diff: Source/core/svg/SVGPathParser.cpp

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/SVGPathParser.cpp
diff --git a/Source/core/svg/SVGPathParser.cpp b/Source/core/svg/SVGPathParser.cpp
index 22139dccbbc2bb1ed2a4f8a5cc64a66d2fae7e4f..f2990d2b2189a1f0f8f160c51ee0bcd544eac965 100644
--- a/Source/core/svg/SVGPathParser.cpp
+++ b/Source/core/svg/SVGPathParser.cpp
@@ -32,12 +32,6 @@ static const float gOneOverThree = 1 / 3.f;
namespace blink {
-SVGPathParser::SVGPathParser()
- : m_source(nullptr)
- , m_consumer(nullptr)
-{
-}
-
void SVGPathParser::trace(Visitor* visitor)
{
visitor->trace(m_source);
@@ -403,16 +397,6 @@ bool SVGPathParser::parsePathDataFromSource(PathParsingMode pathParsingMode, boo
return false;
}
-void SVGPathParser::cleanup()
-{
- ASSERT(m_source);
- ASSERT(m_consumer);
-
- m_consumer->cleanup();
- m_source = nullptr;
- m_consumer = nullptr;
-}
-
// This works by converting the SVG arc to "simple" beziers.
// Partly adapted from Niko's code in kdelibs/kdecore/svgicons.
// See also SVG implementation notes: http://www.w3.org/TR/SVG/implnote.html#ArcConversionEndpointToCenter

Powered by Google App Engine
This is Rietveld 408576698