Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / parser / HTMLSrcsetParser.cpp
index f1af160..4313390 100644 (file)
@@ -36,7 +36,7 @@
 #include "platform/ParsingUtilities.h"
 #include "platform/RuntimeEnabledFeatures.h"
 
-namespace WebCore {
+namespace blink {
 
 static bool compareByDensity(const ImageCandidate& first, const ImageCandidate& second)
 {
@@ -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>