Index: Source/WebCore/html/ValidationMessage.cpp |
=================================================================== |
--- Source/WebCore/html/ValidationMessage.cpp (revision 122284) |
+++ Source/WebCore/html/ValidationMessage.cpp (working copy) |
@@ -182,6 +182,13 @@ |
m_timer->startOneShot(0); |
} |
+bool ValidationMessage::shadowTreeContains(Node* node) const |
+{ |
+ if (!m_bubble) |
+ return false; |
+ return m_bubble->treeScope() == node->treeScope(); |
+} |
+ |
void ValidationMessage::deleteBubbleTree(Timer<ValidationMessage>*) |
{ |
if (m_bubble) { |