RenderLayer: Simplify RenderElement::paint() calls. Introduce "paintOffsetForRenderer(fragment, localPaintingInfo)" inline helper returning: toLayoutPoint(fragment.layerBounds.location() - rendererLocation() + localPaintingInfo.subpixelOffset) Avoid repeating this formula in various places in RenderLayer - unify it.
Created attachment 451033 [details] Patch, v1
Will submit to EWS, once 236186 landed.
The failed builds are expected, the patch went to EWS too early...
Created attachment 451084 [details] Patch, v2
Thanks Simon for checking!
Committed r289360 (246948@trunk): <https://commits.webkit.org/246948@trunk>
<rdar://problem/88618973>