Index: Source/core/svg/SVGParserUtilities.cpp |
diff --git a/Source/core/svg/SVGParserUtilities.cpp b/Source/core/svg/SVGParserUtilities.cpp |
index 78afd9c79c42a619d4e1ca969da5bacea1862ba2..86b1ef0fe3897dbe098f5e0cdb55b62665c0c694 100644 |
--- a/Source/core/svg/SVGParserUtilities.cpp |
+++ b/Source/core/svg/SVGParserUtilities.cpp |
@@ -263,6 +263,7 @@ bool parseNumberOrPercentage(const String& string, float& number) |
return genericParseNumberOrPercentage(ptr, end, number); |
} |
+#if ENABLE(SVG_FONTS) |
template<typename CharType> |
static bool parseGlyphName(const CharType*& ptr, const CharType* end, HashSet<String>& values) |
{ |
@@ -454,6 +455,7 @@ Vector<String> parseDelimitedString(const String& input, const char seperator) |
const UChar* end = ptr + input.length(); |
return genericParseDelimitedString(ptr, end, seperator); |
} |
+#endif |
template <typename CharType> |
bool parseFloatPoint(const CharType*& current, const CharType* end, FloatPoint& point) |