Bug 52499

Summary: Implement the "should paint bounds instead of indiviual rects" algorithm from WebKit1
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch sam: review+

Description Anders Carlsson 2011-01-14 17:05:41 PST
Implement the "should paint bounds instead of indiviual rects" algorithm from WebKit1
Comment 1 Anders Carlsson 2011-01-14 17:07:32 PST
Created attachment 79034 [details]
Patch
Comment 2 Sam Weinig 2011-01-14 17:13:01 PST
Comment on attachment 79034 [details]
Patch

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

> WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp:184
> +    const float wastedSpaceThreshold = 0.75f;

You should use a double here and remove the f.
Comment 3 Anders Carlsson 2011-01-14 17:19:06 PST
Committed r75849: <http://trac.webkit.org/changeset/75849>