Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57e31469bc48345cdb037cf78966a638bf09f43e
      
https://github.com/WebKit/WebKit/commit/57e31469bc48345cdb037cf78966a638bf09f43e
  Author: Ahmad Saleem <[email protected]>
  Date:   2025-02-13 (Thu, 13 Feb 2025)

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

  Log Message:
  -----------
  Remove unnecessary call to containingBlock in 
`RenderLayerModelObject::styleDidChange`

https://bugs.webkit.org/show_bug.cgi?id=287628
rdar://144778634

Reviewed by Alan Baradlay.

Inspired by: 
https://chromium.googlesource.com/chromium/blink/+/b30a38e00230f0a41e9db778709bb1ec16916583

The `containingBlock()` check was added back in 7750@main to protect 
`updateLayerPosition()`,
which is not present there anymore and this is just to set repaint status.
This patch is to remove redundant tree traversal and clean-up code.

* Source/WebCore/rendering/RenderLayerModelObject.cpp:
(WebCore::RenderLayerModelObject::styleDidChange):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to