[webkit-changes] [WebKit/WebKit] ddfb6a: [IFC][Integration] IFC integration codepath does n...

alan noreply at github.com
Mon Sep 12 12:07:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ddfb6ac22acf005c5cc7504199094dc90795da29
      https://github.com/WebKit/WebKit/commit/ddfb6ac22acf005c5cc7504199094dc90795da29
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

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

  Log Message:
  -----------
  [IFC][Integration] IFC integration codepath does not add float boxes to FloatingObjects::m_placedFloatsTree
https://bugs.webkit.org/show_bug.cgi?id=245077

Reviewed by Antti Koivisto.

1. Do not set m_isInPlacedTree unless the floating object is actually added to the tree.
2. Remove redundant assert. ASSERT_UNUSED(removed, removed) already checks if the "about to be removed" floating box is in the tree.

* Source/WebCore/rendering/FloatingObjects.cpp:
(WebCore::FloatingObjects::addPlacedObject):
(WebCore::FloatingObjects::removePlacedObject):

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




More information about the webkit-changes mailing list