Bug 137573 - Use RenderObject::firstChildSlow() / lastChildSlow() less
Summary: Use RenderObject::firstChildSlow() / lastChildSlow() less
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Enhancement
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-09 13:50 PDT by Chris Dumez
Modified: 2014-10-09 16:55 PDT (History)
20 users (show)

See Also:


Attachments
Patch (19.16 KB, patch)
2014-10-09 14:06 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (19.27 KB, patch)
2014-10-09 14:31 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2014-10-09 13:50:41 PDT
Use RenderObject::firstChildSlow() / lastChildSlow() less by using tighter typing at call sites whenever possible to be able to call RenderElement::firstChild() / lastChild() instead.
Comment 1 Chris Dumez 2014-10-09 14:06:32 PDT
Created attachment 239567 [details]
Patch
Comment 2 Chris Dumez 2014-10-09 14:31:26 PDT
Created attachment 239570 [details]
Patch
Comment 3 Andreas Kling 2014-10-09 16:17:10 PDT
Comment on attachment 239570 [details]
Patch

r=me
Comment 4 WebKit Commit Bot 2014-10-09 16:55:48 PDT
Comment on attachment 239570 [details]
Patch

Clearing flags on attachment: 239570

Committed r174542: <http://trac.webkit.org/changeset/174542>
Comment 5 WebKit Commit Bot 2014-10-09 16:55:54 PDT
All reviewed patches have been landed.  Closing bug.