| Index: Source/core/svg/SVGParserUtilities.cpp
|
| diff --git a/Source/core/svg/SVGParserUtilities.cpp b/Source/core/svg/SVGParserUtilities.cpp
|
| index 640af4475421dd0377333be54d08867bd6fa7d76..8d39b657feb3f82757a49796ac139d38cd394a18 100644
|
| --- a/Source/core/svg/SVGParserUtilities.cpp
|
| +++ b/Source/core/svg/SVGParserUtilities.cpp
|
| @@ -164,20 +164,6 @@ bool parseNumber(const UChar*& ptr, const UChar* end, float& number, bool skip)
|
| return genericParseNumber(ptr, end, number, skip);
|
| }
|
|
|
| -bool parseNumberFromString(const String& string, float& number, bool skip)
|
| -{
|
| - if (string.isEmpty())
|
| - return false;
|
| - if (string.is8Bit()) {
|
| - const LChar* ptr = string.characters8();
|
| - const LChar* end = ptr + string.length();
|
| - return genericParseNumber(ptr, end, number, skip) && ptr == end;
|
| - }
|
| - const UChar* ptr = string.characters16();
|
| - const UChar* end = ptr + string.length();
|
| - return genericParseNumber(ptr, end, number, skip) && ptr == end;
|
| -}
|
| -
|
| // only used to parse largeArcFlag and sweepFlag which must be a "0" or "1"
|
| // and might not have any whitespace/comma after it
|
| template <typename CharType>
|
|
|