[webkit-changes] [WebKit/WebKit] a1803b: Make RepaintRegionAccumulator only try to work in ...
Brady Eidson
noreply at github.com
Fri Jan 17 19:46:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1803bafaa53bf1eed8c86ad411f4247732d4233
https://github.com/WebKit/WebKit/commit/a1803bafaa53bf1eed8c86ad411f4247732d4233
Author: Brady Eidson <beidson at apple.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M Source/WebCore/rendering/RenderView.cpp
Log Message:
-----------
Make RepaintRegionAccumulator only try to work in the main frame
rdar://143161246
https://bugs.webkit.org/show_bug.cgi?id=286181
Reviewed by Simon Fraser.
RepaintRegionAccumulator's attempt to walk up to the top document's RenderView is a WebKit1 optimization
from a different era.
In modern WebKit, iframes already don't go down that code path (see RenderView::repaintViewRectangle)
This simplification of RepaintRegionAccumulator makes it represent reality, in addition to getting rid
of some confusion with regards to site isolation.
* Source/WebCore/rendering/RenderView.cpp:
(WebCore::RenderView::RepaintRegionAccumulator::RepaintRegionAccumulator):
Canonical link: https://commits.webkit.org/289099@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list