Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: Source/WebCore/html/parser/HTMLParserIdioms.cpp

Issue 8135023: Merge 96290 - REGRESSION(r93858): Can't type anything into input elements when maxlength is great... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « LayoutTests/fast/forms/input-text-paste-maxlength-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698