Index: Source/core/rendering/InlineFlowBox.cpp |
diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp |
index 5a263d9ab993ecbce0e9aede687c746789aa5438..23a96ab2fa953521d336002ae387b4e1279448af 100644 |
--- a/Source/core/rendering/InlineFlowBox.cpp |
+++ b/Source/core/rendering/InlineFlowBox.cpp |
@@ -278,7 +278,7 @@ static inline bool isLastChildForRenderer(RenderObject* ancestor, RenderObject* |
RenderObject* curr = child; |
RenderObject* parent = curr->parent(); |
while (parent && (!parent->isRenderBlock() || parent->isInline())) { |
- if (parent->lastChild() != curr) |
+ if (parent->slowLastChild() != curr) |
return false; |
if (parent == ancestor) |
return true; |