[webkit-reviews] review granted: [Bug 122582] Kill some RenderObject::firstChildSlow/lastChildSlow usage. : [Attachment 213839] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 9 18:03:55 PDT 2013


Antti Koivisto <koivisto at iki.fi> has granted Andreas Kling <akling at apple.com>'s
request for review:
Bug 122582: Kill some RenderObject::firstChildSlow/lastChildSlow usage.
https://bugs.webkit.org/show_bug.cgi?id=122582

Attachment 213839: Patch
https://bugs.webkit.org/attachment.cgi?id=213839&action=review

------- Additional Comments from Antti Koivisto <koivisto at iki.fi>
View in context: https://bugs.webkit.org/attachment.cgi?id=213839&action=review


> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:391
>      else if (m_renderer->isAnonymousBlock() &&
lastChildHasContinuation(m_renderer)) {
> -	   RenderObject* lastParent =
endOfContinuations(m_renderer->lastChildSlow())->parent();
> +	   RenderElement* lastParent =
endOfContinuations(m_renderer->lastChildSlow())->parent();

You can remove this lastChildSlow too. m_renderer->isAnonymousBlock()


More information about the webkit-reviews mailing list