Index: Source/WebCore/html/HTMLFieldSetElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLFieldSetElement.cpp (revision 119198) |
+++ Source/WebCore/html/HTMLFieldSetElement.cpp (working copy) |
@@ -50,9 +50,9 @@ |
// This element must be updated before the style of nodes in its subtree gets recalculated. |
HTMLFormControlElement::disabledAttributeChanged(); |
- for (Node* currentNode = this; currentNode; currentNode = currentNode->traverseNextNode(this)) { |
+ for (Node* currentNode = this->traverseNextNode(this); currentNode; currentNode = currentNode->traverseNextNode(this)) { |
if (currentNode && currentNode->isElementNode() && toElement(currentNode)->isFormControlElement()) |
- static_cast<HTMLFormControlElement*>(currentNode)->setNeedsStyleRecalc(); |
+ static_cast<HTMLFormControlElement*>(currentNode)->ancestorDisabledStateWasChanged(); |
} |
} |