Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 400c1cd4ec872f4a11b9eb74084e16ee522806f6
      
https://github.com/WebKit/WebKit/commit/400c1cd4ec872f4a11b9eb74084e16ee522806f6
  Author: Ryosuke Niwa <[email protected]>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M Source/WebCore/dom/Node.h
    M Source/WebCore/dom/NodeInlines.h
    M Source/WebCore/dom/TreeScope.h
    M Source/WebCore/dom/TreeScopeInlines.h

  Log Message:
  -----------
  Add a lock to TreeScope mutations
https://bugs.webkit.org/show_bug.cgi?id=294603
rdar://153113627

Reviewed by Chris Dumez.

Use a lock when updating the tree scope of a Node or the document scope of a 
TreeScope.

* Source/WebCore/dom/Node.h:
(WebCore::Node::setTreeScope): Moved to NodeInlines.h.
* Source/WebCore/dom/NodeInlines.h:
(WebCore::Node::opaqueRoot const):
(WebCore::Node::setTreeScope):
* Source/WebCore/dom/TreeScope.h:
(WebCore::TreeScope::setDocumentScope): Moved to TreeScopeInlines.h.
* Source/WebCore/dom/TreeScopeInlines.h:
(WebCore::TreeScope::setDocumentScope):
(WebCore::TreeScope::treeScopeMutationLock):

Canonical link: https://commits.webkit.org/296347@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