Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store less raw pointers in containers in Source/rendering/
https://bugs.webkit.org/show_bug.cgi?id=261545 Reviewed by Darin Adler. * Source/WTF/wtf/WeakHashMap.h: * Source/WebCore/dom/Element.cpp: (WebCore::layoutOverflowRectContainsAllDescendants): * Source/WebCore/page/LocalFrameView.cpp: (WebCore::LocalFrameView::adjustVerticalPageScrollStepForFixedContent): * Source/WebCore/rendering/InlineBoxPainter.cpp: (WebCore::InlineBoxPainter::paint): * Source/WebCore/rendering/RenderBlock.cpp: (WebCore::insertIntoTrackedRendererMaps): (WebCore::removeFromTrackedRendererMaps): (WebCore::PositionedDescendantsMap::addDescendant): (WebCore::PositionedDescendantsMap::removeDescendant): (WebCore::PositionedDescendantsMap::removeContainingBlock): (WebCore::PositionedDescendantsMap::positionedRenderers const): (WebCore::removeBlockFromPercentageDescendantAndContainerMaps): (WebCore::RenderBlock::~RenderBlock): (WebCore::RenderBlock::blockWillBeDestroyed): (WebCore::RenderBlock::hasRareData const): (WebCore::getBlockRareData): (WebCore::ensureBlockRareData): (WebCore::RenderBlock::addOverflowFromPositionedObjects): (WebCore::RenderBlock::dirtyForLayoutFromPercentageHeightDescendants): (WebCore::RenderBlock::layoutPositionedObjects): (WebCore::RenderBlock::markPositionedObjectsForLayout): (WebCore::RenderBlock::paintObject): (WebCore::RenderBlock::addContinuationWithOutline): (WebCore::RenderBlock::paintsContinuationOutline): (WebCore::RenderBlock::paintContinuationOutlines): (WebCore::clipOutPositionedObjects): (WebCore::RenderBlock::removePositionedObjects): (WebCore::RenderBlock::percentHeightDescendants const): (WebCore::RenderBlock::hasPercentHeightDescendant): (WebCore::RenderBlock::checkPositionedObjectsNeedLayout): * Source/WebCore/rendering/RenderBlock.h: (WebCore::RenderBlock::hasPositionedObjects const): (WebCore::RenderBlock::hasPercentHeightDescendants const): * Source/WebCore/rendering/RenderBlockFlow.cpp: (WebCore::RenderBlockFlow::rebuildFloatingObjectSetFromIntrudingFloats): (WebCore::RenderBlockFlow::simplifiedNormalFlowLayout): * Source/WebCore/rendering/RenderFlexibleBox.cpp: (WebCore::RenderFlexibleBox::childHasPercentHeightDescendants const): * Source/WebCore/rendering/RenderInline.cpp: (WebCore::RenderInline::willBeDestroyed): * Source/WebCore/rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::relayoutCellIfFlexed): (WebCore::RenderTableSection::paintObject): * Source/WebCore/rendering/SelectionRangeData.cpp: (WebCore::SelectionRangeData::repaint const): Canonical link: https://commits.webkit.org/268000@main
- Loading branch information