Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e01908325278b4e55f998f1f36473ea897863cae
      
https://github.com/WebKit/WebKit/commit/e01908325278b4e55f998f1f36473ea897863cae
  Author: Alan Baradlay <[email protected]>
  Date:   2023-09-09 (Sat, 09 Sep 2023)

  Changed paths:
    M 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp
    M 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h

  Log Message:
  -----------
  [IFC] Merge InlineContentBuilder::computeIsFirstIsLastBoxForInlineContent and 
updateIfTextRenderersNeedVisualReordering
https://bugs.webkit.org/show_bug.cgi?id=261352

Reviewed by Antti Koivisto.

Let's not iterate through the same set of boxes twice.

* 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::InlineContentBuilder::build const):
(WebCore::LayoutIntegration::InlineContentBuilder::computeIsFirstIsLastBoxAndBidiReorderingForInlineContent
 const):
(WebCore::LayoutIntegration::InlineContentBuilder::computeIsFirstIsLastBoxForInlineContent
 const): Deleted.
(WebCore::LayoutIntegration::InlineContentBuilder::updateIfTextRenderersNeedVisualReordering
 const): Deleted.
* 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h:

Canonical link: https://commits.webkit.org/267832@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to