Bug 1758168 - Fix for fractional sizes when scaling surfaces > max size r=gfx-reviewers,lsalzman
Bug 1758168 - Fix for fractional sizes when scaling surfaces > max size r=gfx-reviewers,lsalzman

Differential Revision: https://phabricator.services.mozilla.com/D140595

[ghsync] From https://hg.mozilla.org/mozilla-central/rev/1ed627ed104111b9cd99b5952fa0264f5889dac6

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender