Bug 121627

Summary: Optimize fetching the Node for never-anonymous renderers.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch idea
koivisto: review+
To land none

Description Andreas Kling 2013-09-19 12:21:54 PDT
Optimize fetching the Node for never-anonymous renderers.
Comment 1 Andreas Kling 2013-09-19 12:23:04 PDT
Created attachment 212088 [details]
Patch idea
Comment 2 Antti Koivisto 2013-09-19 12:27:32 PDT
Comment on attachment 212088 [details]
Patch idea

View in context: https://bugs.webkit.org/attachment.cgi?id=212088&action=review

> Source/WebCore/rendering/RenderObject.h:1008
> +    Node* nodeInternal() const { ASSERT(!isAnonymous()); return m_node; }

node/elementForNonAnonymous()?
Comment 3 Antti Koivisto 2013-09-19 12:27:46 PDT
Comment on attachment 212088 [details]
Patch idea

Cool idea
Comment 4 Andreas Kling 2013-09-20 04:45:12 PDT
Created attachment 212150 [details]
To land
Comment 5 WebKit Commit Bot 2013-09-20 05:15:09 PDT
Comment on attachment 212150 [details]
To land

Clearing flags on attachment: 212150

Committed r156155: <http://trac.webkit.org/changeset/156155>
Comment 6 WebKit Commit Bot 2013-09-20 05:15:11 PDT
All reviewed patches have been landed.  Closing bug.