#include "platform/ParsingUtilities.h"
#include "platform/RuntimeEnabledFeatures.h"
-namespace WebCore {
+namespace blink {
static bool compareByDensity(const ImageCandidate& first, const ImageCandidate& second)
{
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>