-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=273729 rdar://127532669 Reviewed by Alan Baradlay. Organize BreakLines.h functions and data into classes to namespace them and to mark non-public items as private. * Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp: (WebCore::Layout::TextUtil::findNextBreakablePosition): * Source/WebCore/rendering/BreakLines.cpp: (WebCore:::m_table): * Source/WebCore/rendering/BreakLines.h: (WebCore::BreakLines::nextBreakablePosition): (WebCore::BreakLines::LineBreakTable::unsafeLookup const): (WebCore::BreakLines::isBreakableSpace): (WebCore::BreakLines::nextBreakableSpace): (WebCore::BreakLines::nextCharacter): (WebCore::BreakLines::isBreakable): (WebCore::nextBreakablePosition): Deleted. (WebCore::lineBreakTableUnsafeLookup): Deleted. (WebCore::isBreakableSpace): Deleted. (WebCore::nextBreakableSpace): Deleted. (WebCore::nextCharacter): Deleted. (WebCore::isBreakable): Deleted. * Source/WebCore/rendering/RenderText.cpp: (WebCore::RenderText::computePreferredLogicalWidths): * Source/WebCore/rendering/line/BreakingContext.h: (WebCore::BreakingContext::handleText): * Source/WebKitLegacy/ios/Misc/WebUIKitSupport.mm: (WebKitGetLastLineBreakInBuffer): Canonical link: https://commits.webkit.org/278626@main
- Loading branch information
Showing
6 changed files
with
77 additions
and
59 deletions.
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