Remove Simple Line Layout
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Sep 2020 13:16:23 +0000 (13:16 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 Sep 2020 13:16:23 +0000 (13:16 +0000)
commitd1861827120aafef35d8f5226bd9128fd1a1f6e4
tree4b3a588d2681c174c7043e2a8c9d946baf8ad130
parentf88f93d3f5fb2fe8564a978bd37fd4ea7dc2289c
Remove Simple Line Layout
https://bugs.webkit.org/show_bug.cgi?id=216914

Reviewed by Sam Weinig.

It is already fully covered by LFC and so unused. Remove the code.

* Headers.cmake:
* Sources.txt:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/AXLogger.cpp:
* accessibility/AccessibilityObjectInterface.h:
* editing/TextIterator.cpp:
* layout/Verification.cpp:
(WebCore::Layout::verifyAndOutputSubtree):
(WebCore::Layout::outputMismatchingSimpleLineInformationIfNeeded): Deleted.
* layout/integration/LayoutIntegrationLineLayout.cpp:
* layout/integration/LayoutIntegrationPagination.cpp:
* rendering/ComplexLineLayout.cpp:
(WebCore::ComplexLineLayout::layoutLineBoxes):
(WebCore::ComplexLineLayout::addOverflowFromInlineChildren):
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutInlineChildren):
(WebCore::RenderBlockFlow::styleDidChange):
(WebCore::RenderBlockFlow::hitTestInlineChildren):
(WebCore::RenderBlockFlow::addOverflowFromInlineChildren):
(WebCore::RenderBlockFlow::markLinesDirtyInBlockRange):
(WebCore::RenderBlockFlow::firstLineBaseline const):
(WebCore::RenderBlockFlow::inlineBlockBaseline const):
(WebCore::RenderBlockFlow::inlineSelectionGaps):
(WebCore::RenderBlockFlow::lineCount const):
(WebCore::RenderBlockFlow::positionForPoint):
(WebCore::RenderBlockFlow::paintInlineChildren):
(WebCore::RenderBlockFlow::hasLines const):
(WebCore::RenderBlockFlow::invalidateLineLayoutPath):
(WebCore::RenderBlockFlow::ensureLineBoxes):
(WebCore::RenderBlockFlow::outputLineTreeAndMark const):
(WebCore::RenderBlockFlow::layoutSimpleLines): Deleted.
* rendering/RenderBlockFlow.h:
(WebCore::RenderBlockFlow::hasSimpleLineLayout const): Deleted.
(WebCore::RenderBlockFlow::simpleLineLayout const): Deleted.
(WebCore::RenderBlockFlow::simpleLineLayout): Deleted.
* rendering/RenderFragmentedFlow.cpp:
(WebCore::RenderFragmentedFlow::removeLineFragmentInfo):
* rendering/RenderText.cpp:
(WebCore::RenderText::absoluteQuadsForRange const):
(WebCore::RenderText::positionForPoint):
(WebCore::RenderText::setTextWithOffset):
(WebCore::RenderText::usesComplexLineLayoutPath const):
(WebCore::RenderText::linesVisualOverflowBoundingBox const):
(WebCore::RenderText::collectSelectionRectsForLineBoxes):
(WebCore::RenderText::simpleLineLayout const): Deleted.
* rendering/RenderText.h:
* rendering/SimpleLineLayout.cpp: Removed.
* rendering/SimpleLineLayout.h: Removed.
* rendering/SimpleLineLayoutCoverage.cpp: Removed.
* rendering/SimpleLineLayoutCoverage.h: Removed.
* rendering/SimpleLineLayoutFlowContents.cpp: Removed.
* rendering/SimpleLineLayoutFlowContents.h: Removed.
* rendering/SimpleLineLayoutFunctions.cpp: Removed.
* rendering/SimpleLineLayoutFunctions.h: Removed.
* rendering/SimpleLineLayoutPagination.cpp: Removed.
* rendering/SimpleLineLayoutPagination.h: Removed.
* rendering/SimpleLineLayoutResolver.cpp: Removed.
* rendering/SimpleLineLayoutResolver.h: Removed.
* rendering/SimpleLineLayoutTextFragmentIterator.cpp: Removed.
* rendering/SimpleLineLayoutTextFragmentIterator.h: Removed.
* rendering/TextPainter.cpp:
(WebCore::TextPainter::clearGlyphDisplayLists):
* rendering/line/LineLayoutTraversal.cpp:
(WebCore::LineLayoutTraversal::firstTextBoxFor):
(WebCore::LineLayoutTraversal::elementBoxFor):
* rendering/line/LineLayoutTraversal.h:
* rendering/line/LineLayoutTraversalSimplePath.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
34 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Headers.cmake
Source/WebCore/Sources.txt
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/accessibility/AXLogger.cpp
Source/WebCore/accessibility/AccessibilityObjectInterface.h
Source/WebCore/editing/TextIterator.cpp
Source/WebCore/layout/Verification.cpp
Source/WebCore/layout/integration/LayoutIntegrationLineLayout.cpp
Source/WebCore/layout/integration/LayoutIntegrationPagination.cpp
Source/WebCore/rendering/ComplexLineLayout.cpp
Source/WebCore/rendering/RenderBlockFlow.cpp
Source/WebCore/rendering/RenderBlockFlow.h
Source/WebCore/rendering/RenderFragmentedFlow.cpp
Source/WebCore/rendering/RenderText.cpp
Source/WebCore/rendering/RenderText.h
Source/WebCore/rendering/SimpleLineLayout.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayout.h [deleted file]
Source/WebCore/rendering/SimpleLineLayoutCoverage.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayoutCoverage.h [deleted file]
Source/WebCore/rendering/SimpleLineLayoutFlowContents.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayoutFlowContents.h [deleted file]
Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayoutFunctions.h [deleted file]
Source/WebCore/rendering/SimpleLineLayoutPagination.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayoutPagination.h [deleted file]
Source/WebCore/rendering/SimpleLineLayoutResolver.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayoutResolver.h [deleted file]
Source/WebCore/rendering/SimpleLineLayoutTextFragmentIterator.cpp [deleted file]
Source/WebCore/rendering/SimpleLineLayoutTextFragmentIterator.h [deleted file]
Source/WebCore/rendering/TextPainter.cpp
Source/WebCore/rendering/line/LineLayoutTraversal.cpp
Source/WebCore/rendering/line/LineLayoutTraversal.h
Source/WebCore/rendering/line/LineLayoutTraversalSimplePath.h [deleted file]