diff options
Diffstat (limited to 'Source/WebCore/svg/SVGPathStringBuilder.cpp')
-rw-r--r-- | Source/WebCore/svg/SVGPathStringBuilder.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/WebCore/svg/SVGPathStringBuilder.cpp b/Source/WebCore/svg/SVGPathStringBuilder.cpp index 3e16eef32..e2a245b54 100644 --- a/Source/WebCore/svg/SVGPathStringBuilder.cpp +++ b/Source/WebCore/svg/SVGPathStringBuilder.cpp @@ -1,5 +1,6 @@ /* * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. + * Copyright (C) 2015 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -18,9 +19,8 @@ */ #include "config.h" - -#if ENABLE(SVG) #include "SVGPathStringBuilder.h" + #include <wtf/text/WTFString.h> namespace WebCore { @@ -44,11 +44,6 @@ String SVGPathStringBuilder::result() return m_stringBuilder.toString(); } -void SVGPathStringBuilder::cleanup() -{ - m_stringBuilder.clear(); -} - void SVGPathStringBuilder::incrementPathSegmentCount() { } @@ -183,5 +178,3 @@ void SVGPathStringBuilder::closePath() } } // namespace WebCore - -#endif // ENABLE(SVG) |