A distance is the magnitude of a displacement. We shouldn't be using these terms interchangeably.
Created attachment 97816 [details] renamed the argument
Comment on attachment 97816 [details] renamed the argument On my second thought, it's probably cleaner to add VerticalDirection enum because callers compute distance and then pass distance or -distance depending.
Created attachment 97822 [details] added VerticalDirection enum
Comment on attachment 97822 [details] added VerticalDirection enum Clearing flags on attachment: 97822 Committed r89263: <http://trac.webkit.org/changeset/89263>
All reviewed patches have been landed. Closing bug.
Thanks for the review, Ojan. More bool shaving patches are coming!