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

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

Issue 540473002: Mark parsing routines with ENABLE(SVG_FONTS) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove gyp change Created 6 years, 3 months 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
« no previous file with comments | « Source/core/svg/SVGParserUtilities.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/svg/SVGParserUtilities.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698