| Index: Source/platform/Length.cpp
|
| diff --git a/Source/platform/Length.cpp b/Source/platform/Length.cpp
|
| index 1b61e1861ada177cd8f94282a0dadd8ed6ef2a25..3b5bdc1aa4da4dd34470238ea0987598e508ba95 100644
|
| --- a/Source/platform/Length.cpp
|
| +++ b/Source/platform/Length.cpp
|
| @@ -66,11 +66,7 @@ static Length parseHTMLAreaCoordinate(const CharType* data, unsigned length)
|
| unsigned doubleLength;
|
| splitLength(data, length, intLength, doubleLength);
|
|
|
| - bool ok;
|
| - int r = charactersToIntStrict(data, intLength, &ok);
|
| - if (ok)
|
| - return Length(r, Fixed);
|
| - return Length(0, Fixed);
|
| + return Length(charactersToIntStrict(data, intLength), Fixed);
|
| }
|
|
|
| // FIXME: Per HTML5, this should follow the "rules for parsing a list of integers".
|
|
|