Move code out of legacy.
Created attachment 438355 [details] Patch
Created attachment 438372 [details] Patch
Zalan Bujtas found in /Volumes/Data/worker/Commit-Queue/build/Source/WebCore/ChangeLog does not appear to be a valid reviewer according to contributors.json. /Volumes/Data/worker/Commit-Queue/build/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Created attachment 438374 [details] Patch
Committed r282597 (241758@main): <https://commits.webkit.org/241758@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438374 [details].
<rdar://problem/83208277>
The patch broke compilation in Ubuntu LTS/Debian bots: https://build.webkit.org/#/builders/68/builds/6643/steps/8/logs/stdio ``` In file included from WebCore/DerivedSources/unified-sources/UnifiedSource-207b877e-7.cpp:4: ../../Source/WebCore/layout/integration/LayoutIntegrationRunIterator.cpp: In member function ‘WebCore::RenderObject::HighlightState WebCore::LayoutIntegration::PathRun::selectionState() const’: ../../Source/WebCore/layout/integration/LayoutIntegrationRunIterator.cpp:103:29: error: invalid use of incomplete type ‘class WebCore::RenderView’ 103 | return renderer.view().selection().highlightStateForTextBox(renderer, text.selectableRange()); | ~~~~~~~~~~~~~^~ ``` Fixed in https://trac.webkit.org/changeset/282633/webkit