Skip to content

Commit

Permalink
Build error when CSS_BOX_DECORATION_BREAK is disabled
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=263193

Unreviewed.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::candidateContentForLine):

Canonical link: https://commits.webkit.org/269362@main
  • Loading branch information
alanbaradlay committed Oct 16, 2023
1 parent 8651335 commit f2560fb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,9 @@ void LineBuilder::candidateContentForLine(LineCandidate& lineCandidate, size_t c
}
ASSERT_NOT_REACHED();
}
#if ENABLE(CSS_BOX_DECORATION_BREAK)
lineCandidate.inlineContent.setAccumulatedClonedDecorationEnd(accumulatedDecorationEndWidth);
#endif

auto setLeadingAndTrailingHangingPunctuation = [&] {
auto hangingContentWidth = lineCandidate.inlineContent.continuousContent().hangingContentWidth();
Expand Down

0 comments on commit f2560fb

Please sign in to comment.