[webkit-changes] [WebKit/WebKit] f29c92: Adopt more smart pointers in Node.cpp

Chris Dumez noreply at github.com
Sat Oct 14 15:25:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f29c92ced7eaa1f99e485e301c14d1828d74d8ba
      https://github.com/WebKit/WebKit/commit/f29c92ced7eaa1f99e485e301c14d1828d74d8ba
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-10-14 (Sat, 14 Oct 2023)

  Changed paths:
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/editing/TextManipulationController.h

  Log Message:
  -----------
  Adopt more smart pointers in Node.cpp
https://bugs.webkit.org/show_bug.cgi?id=263107

Reviewed by Darin Adler.

* Source/WebCore/dom/Node.cpp:
(WebCore::Node::~Node):
(WebCore::Node::willBeDeletedFrom):
(WebCore::firstPrecedingSiblingNotInNodeSet):
(WebCore::firstFollowingSiblingNotInNodeSet):
(WebCore::Node::convertNodesOrStringsIntoNode):
(WebCore::Node::before):
(WebCore::Node::after):
(WebCore::Node::replaceWith):
(WebCore::Node::remove):
(WebCore::Node::normalize):
(WebCore::Node::inspect):
(WebCore::Node::computeEditabilityWithStyle const):
(WebCore::Node::renderRect):
(WebCore::Node::updateAncestorsForStyleRecalc):
(WebCore::Document::invalidateNodeListAndCollectionCaches):
(WebCore::Node::invalidateNodeListAndCollectionCachesInAncestors):
(WebCore::Node::invalidateNodeListAndCollectionCachesInAncestorsForAttribute):
(WebCore::Node::pseudoAwarePreviousSibling const):
(WebCore::Node::pseudoAwareNextSibling const):
(WebCore::Node::computedStyle):
(WebCore::Node::assignedSlot const):
(WebCore::Node::assignedSlotForBindings const):
(WebCore::Node::removedFromAncestor):
(WebCore::Node::isEqualNode const):
(WebCore::locateDefaultNamespace):
(WebCore::locateNamespacePrefix):
(WebCore::Node::lookupPrefix const):
(WebCore::appendTextContent):
(WebCore::Node::compareDocumentPosition):
(WebCore::Node::convertToPage const):
(WebCore::Node::convertFromPage const):
(WebCore::Node::showNodePathForThis const):
(WebCore::traverseTreeAndMark):
(WebCore::Node::showTreeAndMark const):
(WebCore::showSubTreeAcrossFrame):
(WebCore::Node::showTreeForThisAcrossFrame const):
(WebCore::NodeListsNodeData::invalidateCaches):
(WebCore::NodeListsNodeData::invalidateCachesForAttribute):
(WebCore::traverseSubtreeToUpdateTreeScope):
(WebCore::Node::moveTreeToNewScope):
(WebCore::Node::moveNodeToNewDocument):
(WebCore::tryAddEventListener):
(WebCore::tryRemoveEventListener):
(WebCore::Node::registerMutationObserver):
(WebCore::Node::notifyMutationObserversNodeWillDetach):
(WebCore::Node::defaultEventHandler):
(WebCore::Node::updateAncestorConnectedSubframeCountForRemoval const):
(WebCore::Node::updateAncestorConnectedSubframeCountForInsertion const):
* Source/WebCore/editing/TextManipulationController.h:

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




More information about the webkit-changes mailing list