diff options
Diffstat (limited to 'Source/WebCore/svg/SVGParserUtilities.h')
-rw-r--r-- | Source/WebCore/svg/SVGParserUtilities.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/WebCore/svg/SVGParserUtilities.h b/Source/WebCore/svg/SVGParserUtilities.h index 5797a1706..e1e5cce89 100644 --- a/Source/WebCore/svg/SVGParserUtilities.h +++ b/Source/WebCore/svg/SVGParserUtilities.h @@ -19,9 +19,7 @@ * Boston, MA 02110-1301, USA. */ -#ifndef SVGParserUtilities_h -#define SVGParserUtilities_h -#if ENABLE(SVG) +#pragma once #include "ParserUtilities.h" #include <wtf/HashSet.h> @@ -33,7 +31,7 @@ namespace WebCore { class FloatPoint; class FloatRect; -class SVGPointList; +class SVGPointListValues; template <typename CharacterType> bool parseSVGNumber(CharacterType* ptr, size_t length, double& number); @@ -82,12 +80,9 @@ inline bool skipOptionalSVGSpacesOrDelimiter(const CharacterType*& ptr, const Ch return ptr < end; } -bool pointsListFromSVGData(SVGPointList& pointsList, const String& points); +bool pointsListFromSVGData(SVGPointListValues&, const String& points); 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); } // namespace WebCore - -#endif // ENABLE(SVG) -#endif // SVGParserUtilities_h |