Since borders and RoundedRect are both using integers it doesn't make sense for calcRadiiFor to use LayoutRects. It just adds unnecessary type conversions.
Created attachment 130936 [details] Patch
Comment on attachment 130936 [details] Patch Thanks Simon!
Comment on attachment 130936 [details] Patch Clearing flags on attachment: 130936 Committed r110260: <http://trac.webkit.org/changeset/110260>
All reviewed patches have been landed. Closing bug.