Simplify parseHTMLAreaCoordinate
commit171fc968750c8a13fdc8048742ad826dfbc98c40
authorrob.buis@samsung.com <rob.buis@samsung.com>
Tue, 28 Apr 2015 01:21:45 +0000 (28 01:21 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Tue, 28 Apr 2015 01:21:45 +0000 (28 01:21 +0000)
tree5640daa7f8b62ee43545ba549535374cd8083aec
parent831c467dd13f747d275612b6e1cccf0b70451142
Simplify parseHTMLAreaCoordinate

Simplify parseHTMLAreaCoordinate by not using the "ok" parameter.
charactersToIntStrict is guaranteed to return 0 if an error occurred, i.e.
if ok would be false.

Review URL: https://codereview.chromium.org/1111513003

git-svn-id: svn://svn.chromium.org/blink/trunk@194558 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/Source/platform/Length.cpp