Index: Source/core/svg/SVGParserUtilities.h |
diff --git a/Source/core/svg/SVGParserUtilities.h b/Source/core/svg/SVGParserUtilities.h |
index ef48605d273cf0e69679cf30b23057ab226da1a5..ccbb326dfad4e63d1fb3806a395834d245f93fb9 100644 |
--- a/Source/core/svg/SVGParserUtilities.h |
+++ b/Source/core/svg/SVGParserUtilities.h |
@@ -34,7 +34,6 @@ namespace WebCore { |
class FloatPoint; |
class FloatRect; |
class SVGPointList; |
-class SVGTransformList; |
template <typename CharType> |
bool parseSVGNumber(CharType* ptr, size_t length, double& number); |
@@ -87,18 +86,9 @@ Vector<String> parseDelimitedString(const String& input, const char seperator); |
bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<String>& stringList); |
bool parseGlyphName(const String& input, HashSet<String>& values); |
-enum TransformParsingMode { |
- ClearList, |
- DoNotClearList |
-}; |
- |
-bool parseTransformAttribute(SVGTransformList&, const LChar*& ptr, const LChar* end, TransformParsingMode = ClearList); |
-bool parseTransformAttribute(SVGTransformList&, const UChar*& ptr, const UChar* end, TransformParsingMode = ClearList); |
- |
-bool parseTransformValue(unsigned type, const LChar*& ptr, const LChar* end, SVGTransform&); |
-bool parseTransformValue(unsigned type, const UChar*& ptr, const UChar* end, SVGTransform&); |
- |
-SVGTransform::SVGTransformType parseTransformType(const String&); |
+template<typename CharType> |
+bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTransformType&); |
+SVGTransformType parseTransformType(const String&); |
} // namespace WebCore |