When we switch to subpixel LayoutUnits, we can't use raw integers in places like ternary operations. This patch adds a zeroLayoutUnit constant that can be used instead of raw zeros.
Created attachment 127244 [details] Patch
Comment on attachment 127244 [details] Patch OK. Seems you added LayoutRect::zero() in another patch. Since this is still a typedef, Ican see how that's impossible here. Is the plan to move to something like that? Doesn't really matter, just curious.
Comment on attachment 127244 [details] Patch A LayoutRect would be different, but I think you meant LayoutUnit. I think it'd make sense to keep this as a constant. Thanks for the review!
Comment on attachment 127244 [details] Patch Clearing flags on attachment: 127244 Committed r107880: <http://trac.webkit.org/changeset/107880>
All reviewed patches have been landed. Closing bug.