| Summary: | RenderLayer: Simplify RenderElement::paint() calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> | ||||||
| Component: | Layout and Rendering | Assignee: | Nikolas Zimmermann <zimmermann> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bfulgham, changseok, esprehn+autocc, ews-watchlist, fred.wang, glenn, kondapallykalyan, pdr, rbuis, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Bug Depends on: | 236186 | ||||||||
| Bug Blocks: | 90738, 236194 | ||||||||
| Attachments: |
|
||||||||
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> |
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.