Index: Source/core/html/parser/HTMLSrcsetParser.cpp |
diff --git a/Source/core/html/parser/HTMLSrcsetParser.cpp b/Source/core/html/parser/HTMLSrcsetParser.cpp |
index f1af160e354f195de898ec712956edc044985028..bf4bec424650dc604e3b7c8667d60ae9beed240e 100644 |
--- a/Source/core/html/parser/HTMLSrcsetParser.cpp |
+++ b/Source/core/html/parser/HTMLSrcsetParser.cpp |
@@ -67,7 +67,7 @@ struct DescriptorToken { |
template<typename CharType> |
int toInt(const CharType* attribute, bool& isValid) |
{ |
- return charactersToInt(attribute + start, length - 1, &isValid); |
+ return charactersToIntStrict(attribute + start, length - 1, &isValid); |
} |
template<typename CharType> |