Index: Source/core/html/forms/ValidationMessage.cpp |
diff --git a/Source/core/html/forms/ValidationMessage.cpp b/Source/core/html/forms/ValidationMessage.cpp |
index df7475f4c3e7bec1d98221c690cec8c1be44b0b2..02861b6903fbb46d4369098d140d82925ba7f912 100644 |
--- a/Source/core/html/forms/ValidationMessage.cpp |
+++ b/Source/core/html/forms/ValidationMessage.cpp |
@@ -63,7 +63,7 @@ ValidationMessageClient* ValidationMessage::validationMessageClient() const |
return &page->validationMessageClient(); |
} |
-void ValidationMessage::updateValidationMessage(const String& message) |
+void ValidationMessage::updateValidationMessage(const String& message, bool customError) |
{ |
ValidationMessageClient* client = validationMessageClient(); |
if (!client) |
@@ -71,7 +71,7 @@ void ValidationMessage::updateValidationMessage(const String& message) |
if (message.isEmpty()) |
requestToHideMessage(); |
else |
- client->showValidationMessage(*m_element, message); |
+ client->showValidationMessage(*m_element, message, customError); |
} |
void ValidationMessage::requestToHideMessage() |