Index: Source/core/html/forms/ValidationMessage.cpp |
diff --git a/Source/core/html/forms/ValidationMessage.cpp b/Source/core/html/forms/ValidationMessage.cpp |
index 78046464722525708059d86d852328735944ea5b..ab4ebc1b113fa65b8547331806606202647fb30c 100644 |
--- a/Source/core/html/forms/ValidationMessage.cpp |
+++ b/Source/core/html/forms/ValidationMessage.cpp |
@@ -46,8 +46,10 @@ ALWAYS_INLINE ValidationMessage::ValidationMessage(HTMLFormControlElement* eleme |
ValidationMessage::~ValidationMessage() |
{ |
+#if !ENABLE(OILPAN) |
if (ValidationMessageClient* client = validationMessageClient()) |
client->hideValidationMessage(*m_element); |
+#endif |
} |
PassOwnPtr<ValidationMessage> ValidationMessage::create(HTMLFormControlElement* element) |