Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b68c862300da7f2f9803b6bc595a9d6b7b7dc542
https://github.com/WebKit/WebKit/commit/b68c862300da7f2f9803b6bc595a9d6b7b7dc542
Author: Alan Baradlay <[email protected]>
Date: 2026-09-16 (Wed, 16 Sep 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
M Source/WebCore/rendering/RenderBoxModelObject.cpp
M Source/WebCore/rendering/RenderBoxModelObject.h
M Source/WebCore/rendering/RenderInline.cpp
M Source/WebCore/rendering/RenderInline.h
Log Message:
-----------
[cleanup] Move the repaint rects off RenderInline
https://bugs.webkit.org/show_bug.cgi?id=324102
<rdar://problem/187318469>
Reviewed by Antti Koivisto.
localRectsForRepaint() moves to RenderBoxModelObject as is; only an inline box
reaches it, since RenderBox and RenderLineBreak both override it.
rectWithOutlineForRepaint() has no other override, so it takes an isInlineBox()
check to keep uniting the children's rects for an inline box only.
* Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations:
rendering/RenderInline.cpp has no unchecked call argument left.
* Source/WebCore/rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::localRectsForRepaint const):
(WebCore::RenderBoxModelObject::rectWithOutlineForRepaint const):
* Source/WebCore/rendering/RenderBoxModelObject.h:
* Source/WebCore/rendering/RenderInline.cpp:
(WebCore::RenderInline::localRectsForRepaint const): Deleted.
(WebCore::RenderInline::rectWithOutlineForRepaint const): Deleted.
* Source/WebCore/rendering/RenderInline.h:
Canonical link: https://commits.webkit.org/321277@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications