Bug 80655 - Change calcRadiiFor to IntSize
Summary: Change calcRadiiFor to IntSize
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Emil A Eklund
Depends on:
Blocks: 60318
  Show dependency treegraph
Reported: 2012-03-08 16:27 PST by Emil A Eklund
Modified: 2012-03-08 21:01 PST (History)
5 users (show)

See Also:

Patch (2.51 KB, patch)
2012-03-08 16:31 PST, Emil A Eklund
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emil A Eklund 2012-03-08 16:27:14 PST
Since borders and RoundedRect are both using integers it doesn't make sense for calcRadiiFor to use LayoutRects. It just adds unnecessary type conversions.
Comment 1 Emil A Eklund 2012-03-08 16:31:29 PST
Created attachment 130936 [details]
Comment 2 Emil A Eklund 2012-03-08 16:41:45 PST
Comment on attachment 130936 [details]

Thanks Simon!
Comment 3 WebKit Review Bot 2012-03-08 21:00:58 PST
Comment on attachment 130936 [details]

Clearing flags on attachment: 130936

Committed r110260: <http://trac.webkit.org/changeset/110260>
Comment 4 WebKit Review Bot 2012-03-08 21:01:02 PST
All reviewed patches have been landed.  Closing bug.