Previously this condition avoided setting mPaintRectValid = false but that's no longer here. Differential Revision: https://phabricator.services.mozilla.com/D141313