Eliminate repaintObjectsBeforeLayout. Layout delta allows you to repaint your old rect accurately in repaintAfterLayoutIfNeeded.
r=me whenever you're ready.
Created attachment 14197 [details] Eliminate repaintObjectsBeforeLayout Includes change log
Comment on attachment 14197 [details] Eliminate repaintObjectsBeforeLayout r=me
Landed in r21120.