| Index: Source/core/html/forms/URLInputType.cpp
|
| diff --git a/Source/core/html/forms/URLInputType.cpp b/Source/core/html/forms/URLInputType.cpp
|
| index dd16ba32d6bfa666a27dd5c8965cd5a41fa45417..db6942b559e9790e16c4222df4f0be986cfb7f99 100644
|
| --- a/Source/core/html/forms/URLInputType.cpp
|
| +++ b/Source/core/html/forms/URLInputType.cpp
|
| @@ -33,7 +33,6 @@
|
|
|
| #include "core/InputTypeNames.h"
|
| #include "core/html/HTMLInputElement.h"
|
| -#include "core/html/parser/HTMLParserIdioms.h"
|
| #include "platform/text/PlatformLocale.h"
|
| #include "wtf/PassOwnPtr.h"
|
|
|
| @@ -54,12 +53,6 @@
|
| return InputTypeNames::url;
|
| }
|
|
|
| -String URLInputType::sanitizeValue(const String& proposedValue) const
|
| -{
|
| - String value = proposedValue.removeCharacters(isHTMLLineBreak);
|
| - return stripLeadingAndTrailingHTMLSpaces(value);
|
| -}
|
| -
|
| bool URLInputType::typeMismatchFor(const String& value) const
|
| {
|
| return !value.isEmpty() && !KURL(KURL(), value).isValid();
|
|
|