Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7815943cfdcb6be9d3c59306cb4eab19246069e6 https://github.com/WebKit/WebKit/commit/7815943cfdcb6be9d3c59306cb4eab19246069e6 Author: Simon Fraser <simon.fra...@apple.com> Date: 2025-02-03 (Mon, 03 Feb 2025)
Changed paths: M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.cpp Log Message: ----------- Avoid creating an InlineBoxPainter for root inline box if possible https://bugs.webkit.org/show_bug.cgi?id=286873 rdar://144028573 Reviewed by Alan Baradlay. There's some overhead involved in creating an `InlineBoxPainter`, e.g. computing `LineBox::isFirst()`, and the InlineBoxPainter is only needed on the root inline box if there's ::first-line style, so avoid creating one if we can. * Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentPainter.cpp: (WebCore::LayoutIntegration::InlineContentPainter::paintDisplayBox): Canonical link: https://commits.webkit.org/289738@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