Index: Source/core/rendering/TextAutosizer.cpp |
diff --git a/Source/core/rendering/TextAutosizer.cpp b/Source/core/rendering/TextAutosizer.cpp |
index b14768da1769bfacad00d204897f3d50afcc3e66..96a0db970a346687fb8c4992f69d4499a853ce54 100644 |
--- a/Source/core/rendering/TextAutosizer.cpp |
+++ b/Source/core/rendering/TextAutosizer.cpp |
@@ -494,7 +494,7 @@ bool TextAutosizer::isAutosizingContainer(const RenderObject* renderer) |
// - Must not be normal list items, as items in the same list should look |
// consistent, unless they are floating or position:absolute/fixed. |
Node* node = renderer->generatingNode(); |
- if ((node && !node->hasChildNodes()) |
+ if ((node && !node->hasChildren()) |
|| !renderer->isRenderBlock() |
|| (renderer->isInline() && !renderer->style()->isDisplayReplacedType())) |
return false; |