Skip to content

Commit

Permalink
[IFC][Integration] Remove redundant FlowTextIsCombineText flag
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=247243

Reviewed by Tim Nguyen.

* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::printReason):
(WebCore::LayoutIntegration::canUseForChild):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:

Canonical link: https://commits.webkit.org/256150@main
  • Loading branch information
alanbaradlay committed Oct 31, 2022
1 parent e6b4012 commit 7aee56b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ static void printReason(AvoidanceReason reason, TextStream& stream)
case AvoidanceReason::FlowHasTextCombine:
stream << "text combine";
break;
case AvoidanceReason::FlowTextIsCombineText:
stream << "text is combine";
break;
case AvoidanceReason::FlowTextIsSVGInlineText:
stream << "SVGInlineText";
break;
Expand Down Expand Up @@ -357,7 +354,7 @@ static OptionSet<AvoidanceReason> canUseForChild(const RenderObject& child, Incl

if (is<RenderText>(child)) {
if (child.isCombineText())
SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsCombineText, reasons, includeReasons);
SET_REASON_AND_RETURN_IF_NEEDED(FlowHasTextCombine, reasons, includeReasons);
if (child.isSVGInlineText())
SET_REASON_AND_RETURN_IF_NEEDED(FlowTextIsSVGInlineText, reasons, includeReasons);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ enum class AvoidanceReason : uint64_t {
// Unused = 1LLU << 32,
// Unused = 1LLU << 33,
// Unused = 1LLU << 34,
FlowTextIsCombineText = 1LLU << 35,
// Unused = 1LLU << 35,
// Unused = 1LLU << 36,
// Unused = 1LLU << 37,
// Unused = 1LLU << 38,
Expand Down

0 comments on commit 7aee56b

Please sign in to comment.