[webkit-changes] [WebKit/WebKit] 72b709: Use a CheckedRef for TreeScope::m_containerNode

Chris Dumez noreply at github.com
Fri Jul 26 15:10:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72b7090bb5c38d1d5bd0934b46aa690b0e3304c9
      https://github.com/WebKit/WebKit/commit/72b7090bb5c38d1d5bd0934b46aa690b0e3304c9
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M Source/WebCore/dom/ContainerNode.h
    M Source/WebCore/dom/TreeScope.cpp
    M Source/WebCore/dom/TreeScope.h

  Log Message:
  -----------
  Use a CheckedRef for TreeScope::m_containerNode
https://bugs.webkit.org/show_bug.cgi?id=277148

Reviewed by Ryosuke Niwa.

* Source/WebCore/dom/ContainerNode.h:
(WebCore::TreeScope::rootNode const):
* Source/WebCore/dom/TreeScope.cpp:
(WebCore::TreeScope::ref const):
(WebCore::TreeScope::deref const):
(WebCore::TreeScope::setParentTreeScope):
(WebCore::TreeScope::labelElementsForId):
(WebCore::TreeScope::elementsFromPoint):
(WebCore::TreeScope::findAnchor):
(WebCore::TreeScope::ensureAdoptedStyleSheets):
* Source/WebCore/dom/TreeScope.h:
(WebCore::TreeScope::rootNode const): Deleted.

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