Coined at Bug Bug 51664. As an argument for Path::addRoundedRect(), we could make RoundedFloatRect, which supports implicit conversion from RoundedIntRect.
Created attachment 79400 [details] Patch
Hi Antonio, Could you take a look when you have time? We have a new member for rounded rect family.
Comment on attachment 79400 [details] Patch LGTM. ps: I though the patch had landed already.
HI Antonio, thank you for taking a look! > > ps: I though the patch had landed already. I'm sorry but I miss the point... Are you saying about Bug 51664?
Is it really worth it, for the 4 lines of code that use it?
> Is it really worth it, for the 4 lines of code that use it? Hmm, good question. I just thought it is symmetrically reasonable.
Comment on attachment 79400 [details] Patch We could use a template to share code with the Int version. But i agree, this is probably pre-mature optimization to add a class for just 4 lines. :)
Comment on attachment 79400 [details] Patch Thank you for the feedback. I'm removing r? at this time and will back when the time is ripe :-)