Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 8df0378a0254d6cf68a2e13ffbbdae61ee5f8e21 https://github.com/WebKit/WebKit/commit/8df0378a0254d6cf68a2e13ffbbdae61ee5f8e21 Author: Simon Fraser <simon.fra...@apple.com> Date: 2024-04-30 (Tue, 30 Apr 2024)
Changed paths: M Source/WebCore/rendering/RenderBox.cpp M Source/WebCore/rendering/RenderBoxInlines.h Log Message: ----------- Fetch all 4 border widths with one virtual function call in a few more places https://bugs.webkit.org/show_bug.cgi?id=273521 rdar://127320983 Reviewed by Alan Baradlay. Adopt the RectEdges<> getter for border widths in two places, to reduce the number of virtual function calls in hot code. * Source/WebCore/rendering/RenderBox.cpp: (WebCore::RenderBox::clientBoxRectInFragment const): (WebCore::RenderBox::paddingBoxRect const): * Source/WebCore/rendering/RenderBoxInlines.h: (WebCore::RenderBox::paddingBoxHeight const): (WebCore::RenderBox::paddingBoxRectIncludingScrollbar const): (WebCore::RenderBox::contentBoxRect const): Canonical link: https://commits.webkit.org/278203@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes