Index: third_party/WebKit/Source/core/html/forms/EmailInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp |
index abeb71640a173c07e54a99adcfff2d106ad5b3cd..1f9ea09017b82ab83c1e172b359abe9e3b4e4338 100644 |
--- a/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/EmailInputType.cpp |
@@ -248,13 +248,6 @@ String EmailInputType::typeMismatchText() const |
return locale().queryString(WebLocalizedString::ValidationTypeMismatchForEmail); |
} |
-void EmailInputType::warnIfValueIsInvalid(const String& value) const |
-{ |
- String invalidAddress = findInvalidAddress(value); |
- if (invalidAddress.isNull()) |
- return; |
- addWarningToConsole("The specified value %s is not a valid email address.", invalidAddress); |
-} |
bool EmailInputType::supportsSelectionAPI() const |
{ |