-
antti@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120770 Reviewed by Andreas Kling. There is no need to call this during recursive attach as siblings are going to be attached normally anyway. Move call sites to attach roots only. * style/StyleResolveTree.cpp: (WebCore::Style::createTextRenderersForSiblingsAfterAttachIfNeeded): Factor to take reference and do the inital tests itself. (WebCore::Style::createTextRendererIfNeeded): (WebCore::Style::updateTextRendererAfterContentChange): (WebCore::Style::attachChildren): Also tightened the condition where previously attached children may be encountered. (WebCore::Style::attachRenderTree): (WebCore::Style::resolveLocal): (WebCore::Style::updateTextStyle): (WebCore::Style::reattachRenderTree): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
555f92e7