Bug 139527 - Optimize RenderElement::rendererForRootBackground() a bit
Summary: Optimize RenderElement::rendererForRootBackground() a bit
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-10 20:47 PST by Chris Dumez
Modified: 2014-12-11 16:45 PST (History)
7 users (show)

See Also:


Attachments
Patch (2.65 KB, patch)
2014-12-10 20:56 PST, 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-12-10 20:47:42 PST
Optimize RenderElement::rendererForRootBackground() a bit by not calling Document::body(). We are only interested in the child element with <body> tag but Document::body() first checks if a <frameset> child if present.
Comment 1 Chris Dumez 2014-12-10 20:56:53 PST
Created attachment 243096 [details]
Patch
Comment 2 Andreas Kling 2014-12-11 16:16:16 PST
Comment on attachment 243096 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2014-12-11 16:45:43 PST
Comment on attachment 243096 [details]
Patch

Clearing flags on attachment: 243096

Committed r177193: <http://trac.webkit.org/changeset/177193>
Comment 4 WebKit Commit Bot 2014-12-11 16:45:47 PST
All reviewed patches have been landed.  Closing bug.