Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: ae09dde3f987f7d22a753377fb2a371d84da7549 https://github.com/WebKit/WebKit/commit/ae09dde3f987f7d22a753377fb2a371d84da7549 Author: Nikolas Zimmermann <nzimmerm...@igalia.com> Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths: M Source/WebCore/rendering/RenderLayer.cpp Log Message: ----------- Cleanup / micro-optimize RenderLayers accumulateOffsetTowardsAncestor helper https://bugs.webkit.org/show_bug.cgi?id=245395 Reviewed by Rob Buis. Avoid unnecessary LayoutPoint -> LayoutSize conversions (e.g. when applying scroll offset, or when moving 'location' by the result of 'localToAbsolute'). Use auto in a few more places, where it helps readability. Covered by existing tests. * Source/WebCore/rendering/RenderLayer.cpp: (WebCore::accumulateOffsetTowardsAncestor): Canonical link: https://commits.webkit.org/254669@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes