Index: Source/core/rendering/RenderReplaced.cpp |
diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp |
index ead5b9cb16afdfb23dbc302ddf45967f59787550..5d1dae4fac814b0a643fcd0ce1415562eb2837a7 100644 |
--- a/Source/core/rendering/RenderReplaced.cpp |
+++ b/Source/core/rendering/RenderReplaced.cpp |
@@ -601,7 +601,7 @@ bool RenderReplaced::isSelected() const |
if (s == SelectionStart) |
return selectionStart == 0; |
- int end = node()->hasChildNodes() ? node()->childNodeCount() : 1; |
+ int end = node()->hasChildren() ? node()->countChildren() : 1; |
if (s == SelectionEnd) |
return selectionEnd == end; |
if (s == SelectionBoth) |