Bug 52499 - Implement the "should paint bounds instead of indiviual rects" algorithm from WebKit1
Summary: Implement the "should paint bounds instead of indiviual rects" algorithm from...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 17:05 PST by Anders Carlsson
Modified: 2011-01-14 17:19 PST (History)
0 users

See Also:


Attachments
Patch (2.54 KB, patch)
2011-01-14 17:07 PST, Anders Carlsson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>