Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[RenderTreeBuilder] Move RenderElement::takeChild() to RenderTreeBuilder
https://bugs.webkit.org/show_bug.cgi?id=182762 <rdar://problem/37523756> Reviewed by Daniel Bates. This patch removes the remaining takeChild() related mutation logic from the renderers. No change in functionality. * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::moveChildTo): * rendering/RenderElement.cpp: (WebCore::RenderElement::takeChild): Deleted. (WebCore::RenderElement::takeChildInternal): Deleted. * rendering/RenderElement.h: * rendering/RenderObject.h: * rendering/updating/RenderTreeBuilder.cpp: (WebCore::RenderTreeBuilder::takeChild): (WebCore::RenderTreeBuilder::childFlowStateChangesAndAffectsParentBlock): (WebCore::RenderTreeBuilder::takeChildFromRenderElement): * rendering/updating/RenderTreeBuilder.h: * rendering/updating/RenderTreeBuilderBlock.cpp: (WebCore::RenderTreeBuilder::Block::removeLeftoverAnonymousBlock): (WebCore::RenderTreeBuilder::Block::takeChild): (WebCore::RenderTreeBuilder::Block::dropAnonymousBoxChild): * rendering/updating/RenderTreeBuilderInline.cpp: (WebCore::RenderTreeBuilder::Inline::splitFlow): (WebCore::RenderTreeBuilder::Inline::splitInlines): (WebCore::RenderTreeBuilder::Inline::childBecameNonInline): * rendering/updating/RenderTreeBuilderRuby.cpp: (WebCore::RenderTreeBuilder::Ruby::takeChild): * rendering/updating/RenderTreeBuilderSVG.cpp: (WebCore::RenderTreeBuilder::SVG::takeChild): Leftover from the previous patch. Canonical link: https://commits.webkit.org/198548@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@228464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
127 additions
and 88 deletions.
- +37 −0 Source/WebCore/ChangeLog
- +2 −2 Source/WebCore/rendering/RenderBoxModelObject.cpp
- +0 −64 Source/WebCore/rendering/RenderElement.cpp
- +0 −2 Source/WebCore/rendering/RenderElement.h
- +3 −2 Source/WebCore/rendering/RenderObject.h
- +67 −2 Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
- +2 −0 Source/WebCore/rendering/updating/RenderTreeBuilder.h
- +5 −5 Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp
- +5 −5 Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp
- +1 −1 Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp
- +5 −5 Source/WebCore/rendering/updating/RenderTreeBuilderSVG.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.