| Index: Source/core/svg/SVGInteger.cpp
|
| diff --git a/Source/core/svg/SVGInteger.cpp b/Source/core/svg/SVGInteger.cpp
|
| index 2fc7e9a187a97e06ff93c2f5cafee2aa2b6da47b..c91da72424a97f9f1ce59266d1e7c223cbb6046b 100644
|
| --- a/Source/core/svg/SVGInteger.cpp
|
| +++ b/Source/core/svg/SVGInteger.cpp
|
| @@ -30,7 +30,6 @@
|
|
|
| #include "config.h"
|
| #include "core/svg/SVGInteger.h"
|
| -#include "core/html/parser/HTMLParserIdioms.h"
|
|
|
| #include "core/svg/SVGAnimationElement.h"
|
|
|
| @@ -67,7 +66,7 @@ void SVGInteger::setValueAsString(const String& string, ExceptionState& exceptio
|
| }
|
|
|
| bool valid = true;
|
| - m_value = stripLeadingAndTrailingHTMLSpaces(string).toIntStrict(&valid);
|
| + m_value = string.toIntStrict(&valid);
|
|
|
| if (!valid) {
|
| exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid.");
|
|
|