Bug 224217

Summary: Remove RepaintLayoutRectsMap
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, fred.wang, glenn, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch zalan: review+

Description Simon Fraser (smfr) 2021-04-05 17:18:29 PDT
Remove RepaintLayoutRectsMap
Comment 1 Simon Fraser (smfr) 2021-04-05 17:25:01 PDT
Created attachment 425226 [details]
Patch
Comment 2 zalan 2021-04-05 20:34:13 PDT
Comment on attachment 425226 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=425226&action=review

great change.

> Source/WebCore/rendering/ComplexLineLayout.cpp:1328
> +        if (!layoutContext().needsFullRepaint() && m_flow.hasSelfPaintingLayer() && m_flow.layerRepaintRects()) {

isn't m_flow.hasSelfPaintingLayer() redundant here (though maybe it provides some information about the type of content (backed by a layer) we are dealing here with).

> Source/WebCore/rendering/RenderLayer.h:224
> +        return WTF::nullopt;

return { }; ?
Comment 3 Simon Fraser (smfr) 2021-04-07 16:07:25 PDT
https://trac.webkit.org/changeset/275641/webkit
Comment 4 Radar WebKit Bug Importer 2021-04-07 16:08:24 PDT
<rdar://problem/76370395>