Bug 245363
| Summary: | Cleanup RenderLayer::updateLayerPosition() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> |
| Component: | Layout and Rendering | Assignee: | Nikolas Zimmermann <zimmermann> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, rbuis, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Nikolas Zimmermann
- Avoid unnecessary LayoutSize <-> LayoutPoint conversions
- Use dynamicDowncast() where possible
- Code de-duplication (re-use checks from RenderLayerCompositor)
- Remove inlineBoundingBoxOffset hack from updateLayerPosition(), no longer needed
- Refactor layer size & location computation to be less intrusive
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/4483
Nikolas Zimmermann
This is part of the work done for LBSE, but doesn't "block" bug 90738, removing that dependency again.
Radar WebKit Bug Importer
<rdar://problem/100408829>
EWS
Committed 256880@main (6eebc817120b): <https://commits.webkit.org/256880@main>
Reviewed commits have been landed. Closing PR #4483 and removing active labels.