| Index: Source/core/dom/Text.cpp
|
| diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
|
| index 7cd90c1ca4c0747b446bc909c6ba1953dda83f9f..da5b0301afeefb1ad6098e5aa3b85075ca46d790 100644
|
| --- a/Source/core/dom/Text.cpp
|
| +++ b/Source/core/dom/Text.cpp
|
| @@ -277,7 +277,7 @@ bool Text::textRendererIsNeeded(const RenderStyle& style, const RenderObject& pa
|
| // So to avoid blowing up on very wide DOMs, we limit the number of siblings to visit.
|
| unsigned maxSiblingsToVisit = 50;
|
|
|
| - RenderObject* first = parent.firstChild();
|
| + RenderObject* first = parent.slowFirstChild();
|
| while (first && first->isFloatingOrOutOfFlowPositioned() && maxSiblingsToVisit--)
|
| first = first->nextSibling();
|
| if (!first || NodeRenderingTraversal::nextSiblingRenderer(this) == first)
|
|
|