Summary: | Kill some RenderObject::firstChildSlow/lastChildSlow usage. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||
Component: | Layout and Rendering | Assignee: | Andreas Kling <kling> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andreas Kling
2013-10-09 17:59:34 PDT
Created attachment 213839 [details]
Patch
Comment on attachment 213839 [details] Patch 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() Created attachment 213840 [details]
Patch for landing
Comment on attachment 213840 [details] Patch for landing Clearing flags on attachment: 213840 Committed r157202: <http://trac.webkit.org/changeset/157202> All reviewed patches have been landed. Closing bug. |