| Summary: | Remove GraphicsLayer::setMasksToBoundsRect | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Component: | Compositing | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | changseok, esprehn+autocc, ews-watchlist, fred.wang, glenn, kondapallykalyan, pdr, sergio, simon.fraser, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fujii Hironori
2022-06-25 06:00:25 PDT
Created attachment 460491 [details]
WIP patch
setMasksToBoundsRect sets the rect used to clip descendant GraphicsLayers. setContentsClippingRect sets the rect used to clip only this layer's content layer. Comment on attachment 460491 [details] WIP patch View in context: https://bugs.webkit.org/attachment.cgi?id=460491&action=review > Source/WebCore/platform/graphics/GraphicsLayer.cpp:-408 > - m_masksToBoundsRect = roundedRect; You don't remove the m_masksToBoundsRect member variable. If you do, you'll find that it's referenced in GraphicsLayerCA::updateMasksToBoundsRect(). That's the reason why I used setContentsRectClipsDescendants together. I'm going to try to remove all related code. Thank you for the comment. Created attachment 460506 [details]
Patch
Created attachment 460507 [details]
Patch
Committed 251923@main (2e43c7cbb61a): <https://commits.webkit.org/251923@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 460507 [details]. |