Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 5652275a3af939fb12f2e102ca6561ec8355dc38..d711d233d9a2e33ed7fd8d0eff8118f83d4dc4d8 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1804,7 +1804,7 @@ void Element::checkForEmptyStyleChange(RenderStyle* style) |
if (!style && !styleAffectedByEmpty()) |
return; |
- if (!style || (styleAffectedByEmpty() && (!style->emptyState() || hasChildNodes()))) |
+ if (!style || (styleAffectedByEmpty() && (!style->emptyState() || hasChildren()))) |
setNeedsStyleRecalc(SubtreeStyleChange); |
} |