Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: Source/core/html/forms/ValidationMessage.cpp

Issue 262093006: Oilpan: Make the Node hierarchy RefCountedGarbageCollected instead of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Minor cleanup. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698