Index: Source/WebCore/html/parser/HTMLParserIdioms.cpp |
=================================================================== |
--- Source/WebCore/html/parser/HTMLParserIdioms.cpp (revision 96670) |
+++ Source/WebCore/html/parser/HTMLParserIdioms.cpp (working copy) |
@@ -215,8 +215,9 @@ |
} |
// Step 9 |
- value = sign * charactersToIntStrict(digits.data(), digits.size()); |
- return true; |
+ bool ok; |
+ value = sign * charactersToIntStrict(digits.data(), digits.size(), &ok); |
+ return ok; |
} |
// http://www.whatwg.org/specs/web-apps/current-work/#rules-for-parsing-non-negative-integers |
@@ -261,8 +262,9 @@ |
} |
// Step 9 |
- value = charactersToUIntStrict(digits.data(), digits.size()); |
- return true; |
+ bool ok; |
+ value = charactersToUIntStrict(digits.data(), digits.size(), &ok); |
+ return ok; |
} |
} |