Bug 1642629 - Avoid iterating over all batch item rects in some cases. r=kvark
Bug 1642629 - Avoid iterating over all batch item rects in some cases. r=kvark

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

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

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