[webkit-changes] [WebKit/WebKit] 1cfcb9: Adopt more smart pointers in dom/

Chris Dumez noreply at github.com
Mon Oct 16 11:09:18 PDT 2023


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

  Changed paths:
    M Source/WebCore/dom/AbortController.cpp
    M Source/WebCore/dom/AbortController.h
    M Source/WebCore/dom/AbortSignal.cpp
    M Source/WebCore/dom/ActiveDOMCallback.cpp
    M Source/WebCore/dom/ActiveDOMObject.cpp
    M Source/WebCore/dom/Attr.cpp
    M Source/WebCore/dom/BoundaryPoint.cpp
    M Source/WebCore/dom/BroadcastChannel.cpp
    M Source/WebCore/dom/BroadcastChannel.h
    M Source/WebCore/dom/CDATASection.cpp
    M Source/WebCore/dom/CharacterData.cpp
    M Source/WebCore/dom/ChildListMutationScope.cpp
    M Source/WebCore/dom/ChildListMutationScope.h
    M Source/WebCore/dom/ChildNodeList.cpp
    M Source/WebCore/dom/ClassCollection.cpp
    M Source/WebCore/dom/ConstantPropertyMap.cpp
    M Source/WebCore/dom/ConstantPropertyMap.h
    M Source/WebCore/dom/ContainerNode.cpp
    M Source/WebCore/dom/ContainerNodeAlgorithms.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/page/Page.h

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

Reviewed by Darin Adler.

* Source/WebCore/dom/AbortController.cpp:
(WebCore::AbortController::abort):
(WebCore::AbortController::protectedSignal const):
* Source/WebCore/dom/AbortController.h:
* Source/WebCore/dom/AbortSignal.cpp:
(WebCore::AbortSignal::addSourceSignal):
(WebCore::AbortSignal::signalAbort):
(WebCore::AbortSignal::signalFollow):
* Source/WebCore/dom/ActiveDOMCallback.cpp:
(WebCore::ActiveDOMCallback::canInvokeCallback const):
(WebCore::ActiveDOMCallback::activeDOMObjectsAreSuspended const):
(WebCore::ActiveDOMCallback::activeDOMObjectAreStopped const):
* Source/WebCore/dom/ActiveDOMObject.cpp:
(WebCore::ActiveDOMObject::~ActiveDOMObject):
(WebCore::ActiveDOMObject::suspendIfNeeded):
(WebCore::ActiveDOMObject::queueTaskInEventLoop):
(WebCore::ActiveDOMObject::queueTaskToDispatchEventInternal):
(WebCore::ActiveDOMObject::queueCancellableTaskToDispatchEventInternal):
* Source/WebCore/dom/Attr.cpp:
(WebCore::Attr::~Attr):
(WebCore::Attr::style):
(WebCore::Attr::detachFromElementWithValue):
* Source/WebCore/dom/BoundaryPoint.cpp:
(WebCore::makeBoundaryPointBeforeNode):
(WebCore::makeBoundaryPointAfterNode):
(WebCore::treeOrder):
* Source/WebCore/dom/BroadcastChannel.cpp:
(WebCore::BroadcastChannel::MainThreadBridge::ensureOnMainThread):
(WebCore::BroadcastChannel::BroadcastChannel):
(WebCore::BroadcastChannel::protectedMainThreadBridge const):
(WebCore::BroadcastChannel::postMessage):
(WebCore::BroadcastChannel::close):
(WebCore::BroadcastChannel::isEligibleForMessaging const):
* Source/WebCore/dom/BroadcastChannel.h:
* Source/WebCore/dom/CDATASection.cpp:
(WebCore::CDATASection::virtualCreate):
* Source/WebCore/dom/CharacterData.cpp:
(WebCore::CharacterData::~CharacterData):
(WebCore::canUseSetDataOptimization):
(WebCore::CharacterData::setData):
(WebCore::makeChildChange):
(WebCore::CharacterData::parserAppendData):
(WebCore::CharacterData::setDataAndUpdate):
(WebCore::CharacterData::notifyParentAfterChange):
(WebCore::CharacterData::dispatchModifiedEvent):
* Source/WebCore/dom/ChildListMutationScope.cpp:
(WebCore::ChildListMutationAccumulator::childAdded):
(WebCore::ChildListMutationAccumulator::willRemoveChild):
(WebCore::ChildListMutationAccumulator::enqueueMutationRecord):
(WebCore::ChildListMutationAccumulator::protectedTarget const):
* Source/WebCore/dom/ChildListMutationScope.h:
* Source/WebCore/dom/ChildNodeList.cpp:
(WebCore::ChildNodeList::~ChildNodeList):
* Source/WebCore/dom/ClassCollection.cpp:
(WebCore::ClassCollection::~ClassCollection):
* Source/WebCore/dom/ConstantPropertyMap.cpp:
(WebCore::ConstantPropertyMap::protectedDocument const):
(WebCore::ConstantPropertyMap::updateConstantsForSafeAreaInsets):
(WebCore::ConstantPropertyMap::didChangeSafeAreaInsets):
(WebCore::ConstantPropertyMap::updateConstantsForFullscreen):
(WebCore::ConstantPropertyMap::didChangeFullscreenInsets):
(WebCore::ConstantPropertyMap::setFullscreenAutoHideDuration):
* Source/WebCore/dom/ConstantPropertyMap.h:
* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeAllChildrenWithScriptAssertion):
(WebCore::ContainerNode::removeNodeWithScriptAssertion):
(WebCore::ContainerNode::removeDetachedChildren):
(WebCore::isChildTypeAllowed):
(WebCore::ContainerNode::insertBeforeCommon):
(WebCore::ContainerNode::replaceChild):
(WebCore::ContainerNode::replaceAll):
(WebCore::ContainerNode::rebuildSVGExtensionsElementsIfNecessary):
(WebCore::ContainerNode::removeChildren):
(WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck):
(WebCore::ContainerNode::childrenChanged):
(WebCore::ContainerNode::cloneChildNodes):
(WebCore::dispatchChildInsertionEvents):
(WebCore::dispatchChildRemovalEvents):
(WebCore::ContainerNode::querySelectorAll):
* Source/WebCore/dom/ContainerNodeAlgorithms.cpp:
(WebCore::notifyNodeInsertedIntoDocument):
(WebCore::notifyNodeInsertedIntoTree):
(WebCore::notifyChildNodeInserted):
(WebCore::notifyNodeRemovedFromDocument):
(WebCore::notifyNodeRemovedFromTree):
(WebCore::removeDetachedChildrenInContainer):

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




More information about the webkit-changes mailing list