Index: Source/core/html/HTMLFormControlElement.cpp |
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp |
index d3d3b22cbcb4d91167b83e1dd0dc7f5e0f13edf4..92ceafeae50727f71e743e07593e7f4d136cfeae 100644 |
--- a/Source/core/html/HTMLFormControlElement.cpp |
+++ b/Source/core/html/HTMLFormControlElement.cpp |
@@ -413,7 +413,7 @@ void HTMLFormControlElement::updateVisibleValidationMessage() |
message = validationMessage().stripWhiteSpace(); |
if (!m_validationMessage) |
m_validationMessage = ValidationMessage::create(this); |
- m_validationMessage->updateValidationMessage(message); |
+ m_validationMessage->updateValidationMessage(message, customError()); |
} |
void HTMLFormControlElement::hideVisibleValidationMessage() |