Bug 102597 - Simplify bounds computation for the RenderView's layer
Summary: Simplify bounds computation for the RenderView's layer
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: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-11-17 14:05 PST by Simon Fraser (smfr)
Modified: 2012-11-23 09:13 PST (History)
6 users (show)

See Also:


Attachments
Patch (5.03 KB, patch)
2012-11-17 17:03 PST, Simon Fraser (smfr)
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2012-11-17 14:05:45 PST
The RenderView's layer should just be the size of the FrameView contents. Right now, we traverse the entire layer tree to compute its bounds, which is crazy.

We also end up applying any page scale, which makes this layer larger than necessary.
Comment 1 Simon Fraser (smfr) 2012-11-17 17:03:49 PST
Created attachment 174834 [details]
Patch
Comment 2 Simon Fraser (smfr) 2012-11-17 22:49:59 PST
<rdar://problem/12725628>
Comment 3 Simon Fraser (smfr) 2012-11-23 09:13:35 PST
http://trac.webkit.org/changeset/135059