Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0afa7959cf93385d576bdf235b3de4f2fe0fe4f1
      
https://github.com/WebKit/WebKit/commit/0afa7959cf93385d576bdf235b3de4f2fe0fe4f1
  Author: Alan Baradlay <[email protected]>
  Date:   2025-11-11 (Tue, 11 Nov 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  [cleanup] Modernize RenderBlockFlow's InlineMinMaxIterator
https://bugs.webkit.org/show_bug.cgi?id=302294

Reviewed by Antti Koivisto.

This is in preparation for adding block level content to 
computeInlinePreferredLogicalWidths as part of block-in-inline feature.

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::InlineMinMaxIterator::InlineMinMaxIterator):
(WebCore::InlineMinMaxIterator::isEndOfInline const):
(WebCore::InlineMinMaxIterator::next):
(WebCore::RenderBlockFlow::computeInlinePreferredLogicalWidths const): 
Rearrange the while loop
so that we don't need the extra tall if (!br) branch.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to