[webkit-changes] [WebKit/WebKit] 74e329: Avoid unnecessary extra calls to `addIntrudingFloats`

Commit Queue noreply at github.com
Tue Jun 4 06:24:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 74e329b07b3ef8a3c2f707694aa55ed6bdc12521
      https://github.com/WebKit/WebKit/commit/74e329b07b3ef8a3c2f707694aa55ed6bdc12521
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

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

  Log Message:
  -----------
  Avoid unnecessary extra calls to `addIntrudingFloats`

https://bugs.webkit.org/show_bug.cgi?id=265027
rdar://problem/118564239

Reviewed by Antti Koivisto.

Merge: https://chromium.googlesource.com/chromium/blink/+/5fd36573c98e79b31d6245d15772e4d0d4eefc8d

The first inflow block in a container that has a leading float will call
addIntrudingFloats twice. Adjust the logic to avoid this unnecessary extra
call.

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::rebuildFloatingObjectSetFromIntrudingFloats):

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



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


More information about the webkit-changes mailing list