[webkit-changes] [WebKit/WebKit] 10bf0c: Remove setAncestorChainHasVisibleDescendant()

Ahmad Saleem noreply at github.com
Thu Jan 4 09:23:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10bf0ccfca7cb06d260316bc0c98c671a9eedda7
      https://github.com/WebKit/WebKit/commit/10bf0ccfca7cb06d260316bc0c98c671a9eedda7
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M Source/WebCore/rendering/RenderLayer.cpp
    M Source/WebCore/rendering/RenderLayer.h

  Log Message:
  -----------
  Remove setAncestorChainHasVisibleDescendant()

https://bugs.webkit.org/show_bug.cgi?id=266915

Reviewed by Simon Fraser.

Merge: https://chromium.googlesource.com/chromium/blink/+/8d5551bd2723ecd23332255a6ded2814e5d97148

We shouldn't clear dirty bits by walking up the tree. Instead, we should mark
dirty bits up the tree and clean the dirty bits by walking down the tree.

* Source/WebCore/rendering/RenderLayer.cpp:
(RenderLayer::addChild):
(RenderLayer::setHasVisibleContent):
(RenderLayer::setAncestorChainHasVisibleDescendant): Deleted
* Source/WebCore/rendering/RenderLayer.h: Clean-up deleted function definition

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




More information about the webkit-changes mailing list