| Index: Source/core/html/parser/HTMLParserIdioms.cpp
|
| diff --git a/Source/core/html/parser/HTMLParserIdioms.cpp b/Source/core/html/parser/HTMLParserIdioms.cpp
|
| index b635e622109c79d2b27b7c3e39468071265e0500..d488067ff9e1f6ef11802e878bd62f8aa85b0fda 100644
|
| --- a/Source/core/html/parser/HTMLParserIdioms.cpp
|
| +++ b/Source/core/html/parser/HTMLParserIdioms.cpp
|
| @@ -28,7 +28,6 @@
|
| #include <limits>
|
| #include "core/dom/QualifiedName.h"
|
| #include "core/html/parser/HTMLIdentifier.h"
|
| -#include "platform/Decimal.h"
|
| #include "wtf/MathExtras.h"
|
| #include "wtf/text/AtomicString.h"
|
| #include "wtf/text/StringBuilder.h"
|
| @@ -115,11 +114,6 @@ Decimal parseToDecimalForNumberType(const String& string, const Decimal& fallbac
|
| return value.isZero() ? Decimal(0) : value;
|
| }
|
|
|
| -Decimal parseToDecimalForNumberType(const String& string)
|
| -{
|
| - return parseToDecimalForNumberType(string, Decimal::nan());
|
| -}
|
| -
|
| double parseToDoubleForNumberType(const String& string, double fallbackValue)
|
| {
|
| // See HTML5 2.5.4.3 `Real numbers.'
|
| @@ -147,11 +141,6 @@ double parseToDoubleForNumberType(const String& string, double fallbackValue)
|
| return value ? value : 0;
|
| }
|
|
|
| -double parseToDoubleForNumberType(const String& string)
|
| -{
|
| - return parseToDoubleForNumberType(string, std::numeric_limits<double>::quiet_NaN());
|
| -}
|
| -
|
| template <typename CharacterType>
|
| static bool parseHTMLIntegerInternal(const CharacterType* position, const CharacterType* end, int& value)
|
| {
|
|
|