Bug 107402 - Avoid filling a rounded rect when radii are zero
Summary: Avoid filling a rounded rect when radii are zero
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 12:07 PST by Simon Fraser (smfr)
Modified: 2013-01-20 12:38 PST (History)
8 users (show)

See Also:


Attachments
Patch (1.93 KB, patch)
2013-01-20 12:09 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (2.48 KB, patch)
2013-01-20 12:33 PST, Simon Fraser (smfr)
sam: 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) 2013-01-20 12:07:42 PST
Avoid filling a rounded rect when radii are zero
Comment 1 Simon Fraser (smfr) 2013-01-20 12:09:03 PST
Created attachment 183679 [details]
Patch
Comment 2 Sam Weinig 2013-01-20 12:19:27 PST
You might want to consider just putting this logic in GraphicsContext::fillRoundedRect.
Comment 3 Simon Fraser (smfr) 2013-01-20 12:33:11 PST
Created attachment 183680 [details]
Patch
Comment 4 Simon Fraser (smfr) 2013-01-20 12:38:37 PST
http://trac.webkit.org/changeset/140279