[webkit-changes] [WebKit/WebKit] 6e02a5: Removed Ref{Ptr}AllowingPartiallyDestroyed<T>

geoffreygaren noreply at github.com
Tue Sep 24 09:26:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6e02a5c532f283f2d81a096b854e5b3cecb5cc3a
      https://github.com/WebKit/WebKit/commit/6e02a5c532f283f2d81a096b854e5b3cecb5cc3a
  Author: Geoffrey Garen <ggaren at apple.com>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M Source/WTF/wtf/Ref.h
    M Source/WTF/wtf/RefCounted.h
    M Source/WTF/wtf/RefPtr.h
    M Source/WTF/wtf/ThreadSafeRefCounted.h
    M Source/WebCore/Modules/mediasource/MediaSource.cpp
    M Source/WebCore/dom/ActiveDOMObject.cpp
    M Source/WebCore/dom/Attr.cpp
    M Source/WebCore/dom/CharacterData.cpp
    M Source/WebCore/dom/ContainerNode.cpp
    M Source/WebCore/dom/ContainerNodeAlgorithms.cpp
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/EmptyScriptExecutionContext.h
    M Source/WebCore/dom/MessagePort.cpp
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/dom/Node.h
    M Source/WebCore/dom/ScriptExecutionContext.cpp
    M Source/WebCore/dom/ScriptExecutionContext.h
    M Source/WebCore/dom/ShadowRoot.cpp
    M Source/WebCore/html/HTMLElement.cpp
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/page/EventHandler.cpp
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/page/csp/ContentSecurityPolicy.cpp
    M Source/WebCore/svg/SVGElement.cpp
    M Source/WebCore/svg/SVGFontFaceElement.cpp
    M Source/WebCore/svg/SVGSVGElement.cpp
    M Source/WebCore/svg/SVGTests.cpp
    M Source/WebCore/svg/SVGTitleElement.cpp
    M Source/WebCore/svg/SVGUseElement.cpp
    M Source/WebCore/workers/WorkerOrWorkletGlobalScope.h
    M Source/WebCore/workers/service/server/SWServerWorker.cpp
    M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp
    M Source/WebKit/Shared/API/APIObject.h
    M Source/WebKit/UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm
    M Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.cpp
    M Source/WebKit/UIProcess/WebProcessProxy.cpp
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/GraphicsLayerCARemote.mm
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.mm
    M Tools/TestWebKitAPI/Tests/WTF/Ref.cpp
    M Tools/TestWebKitAPI/Tests/WTF/RefPtr.cpp

  Log Message:
  -----------
  Removed Ref{Ptr}AllowingPartiallyDestroyed<T>
https://bugs.webkit.org/show_bug.cgi?id=280130
rdar://136430183

Reviewed by Ryosuke Niwa.

As of https://commits.webkit.org/283685@main, it's obsolete.

* Source/WTF/wtf/Ref.h:
(WTF::RefDerefTraitsAllowingPartiallyDestroyed::refIfNotNull): Deleted.
(WTF::RefDerefTraitsAllowingPartiallyDestroyed::ref): Deleted.
(WTF::RefDerefTraitsAllowingPartiallyDestroyed::derefIfNotNull): Deleted.
* Source/WTF/wtf/RefCounted.h:
(WTF::RefCountedBase::ref const):
(WTF::RefCountedBase::derefBase const):
(WTF::RefCountedBase::refAllowingPartiallyDestroyed const): Deleted.
(WTF::RefCountedBase::derefAllowingPartiallyDestroyedBase const): Deleted.
(WTF::RefCounted::derefAllowingPartiallyDestroyed const): Deleted.
* Source/WTF/wtf/RefPtr.h:
* Source/WTF/wtf/ThreadSafeRefCounted.h:
(WTF::ThreadSafeRefCountedBase::ref const):
(WTF::ThreadSafeRefCountedBase::refAllowingPartiallyDestroyed const): Deleted.
(WTF::ThreadSafeRefCounted::derefAllowingPartiallyDestroyed const): Deleted.
* Source/WebCore/Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::ensureWeakOnHTMLMediaElementContext const):
* Source/WebCore/dom/ActiveDOMObject.cpp:
(WebCore::ActiveDOMObject::~ActiveDOMObject):
(WebCore::ActiveDOMObject::suspendIfNeeded):
(WebCore::ActiveDOMObject::queueTaskInEventLoop):
* Source/WebCore/dom/Attr.cpp:
(WebCore::Attr::detachFromElementWithValue):
* Source/WebCore/dom/CharacterData.cpp:
(WebCore::CharacterData::~CharacterData):
* Source/WebCore/dom/ContainerNode.cpp:
(WebCore::ContainerNode::removeAllChildrenWithScriptAssertion):
(WebCore::ContainerNode::removeNodeWithScriptAssertion):
(WebCore::ContainerNode::~ContainerNode):
(WebCore::ContainerNode::removeBetween):
(WebCore::ContainerNode::rebuildSVGExtensionsElementsIfNecessary):
(WebCore::ContainerNode::childrenChanged):
(WebCore::dispatchChildRemovalEvents):
* Source/WebCore/dom/ContainerNodeAlgorithms.cpp:
(WebCore::removeDetachedChildrenInContainer):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::removedLastRef):
(WebCore::Document::willBeRemovedFromFrame):
(WebCore::Document::wheelEventHandlersChanged):
* Source/WebCore/dom/Document.h:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::removedFromAncestor):
* Source/WebCore/dom/EmptyScriptExecutionContext.h:
* Source/WebCore/dom/MessagePort.cpp:
(WebCore::MessagePort::dispatchMessages):
* Source/WebCore/dom/Node.cpp:
(WebCore::Node::~Node):
* Source/WebCore/dom/Node.h:
(WebCore::Node::ref const):
(WebCore::Node::applyRefDuringDestructionCheck const):
(WebCore::Node::deref const):
(WebCore::Node::deletionHasEnded const): Deleted.
(WebCore::Node::refAllowingPartiallyDestroyed const): Deleted.
(WebCore::Node::derefAllowingPartiallyDestroyed const): Deleted.
* Source/WebCore/dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::refAllowingPartiallyDestroyed): Deleted.
(WebCore::ScriptExecutionContext::derefAllowingPartiallyDestroyed): Deleted.
* Source/WebCore/dom/ScriptExecutionContext.h:
* Source/WebCore/dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::removedFromAncestor):
* Source/WebCore/html/HTMLElement.cpp:
(WebCore::HTMLElement::hidePopoverInternal):
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::~HTMLMediaElement):
(WebCore::HTMLMediaElement::speakCueText):
(WebCore::HTMLMediaElement::schedulePlaybackControlsManagerUpdate):
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::stopLoading):
(WebCore::FrameLoader::clear):
(WebCore::FrameLoader::finishedParsing):
(WebCore::FrameLoader::checkCompleted):
* Source/WebCore/page/EventHandler.cpp:
(WebCore::EventHandler::clearLatchedState):
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::removeAllEventListeners):
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::willDetachPage):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::removeViewportConstrainedObject):
* Source/WebCore/page/csp/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportViolation const):
* Source/WebCore/svg/SVGElement.cpp:
(WebCore::SVGElement::~SVGElement):
(WebCore::SVGElement::removedFromAncestor):
(WebCore::SVGElement::updateSVGRendererForElementChange):
* Source/WebCore/svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::removedFromAncestor):
* Source/WebCore/svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::~SVGSVGElement):
(WebCore::SVGSVGElement::removedFromAncestor):
* Source/WebCore/svg/SVGTests.cpp:
(WebCore::SVGTests::conditionalProcessingAttributes):
* Source/WebCore/svg/SVGTitleElement.cpp:
(WebCore::SVGTitleElement::removedFromAncestor):
* Source/WebCore/svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::removedFromAncestor):
(WebCore::SVGUseElement::invalidateShadowTree):
(WebCore::SVGUseElement::updateExternalDocument):
* Source/WebCore/workers/WorkerOrWorkletGlobalScope.h:
* Source/WebCore/workers/service/server/SWServerWorker.cpp:
(WebCore::SWServerWorker::contextConnection):
* Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerConnection.cpp:
(WebKit::WebSWServerConnection::~WebSWServerConnection):
* Source/WebKit/Shared/API/APIObject.h:
(API::Object::refAllowingPartiallyDestroyed const): Deleted.
(API::Object::derefAllowingPartiallyDestroyed const): Deleted.
* Source/WebKit/UIProcess/Media/cocoa/AudioSessionRoutingArbitratorProxyCocoa.mm:
(WebKit::AudioSessionRoutingArbitratorProxy::~AudioSessionRoutingArbitratorProxy):
* Source/WebKit/UIProcess/Network/CustomProtocols/LegacyCustomProtocolManagerProxy.cpp:
(WebKit::LegacyCustomProtocolManagerProxy::~LegacyCustomProtocolManagerProxy):
(WebKit::LegacyCustomProtocolManagerProxy::invalidate):
* Source/WebKit/UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::~WebProcessProxy):
(WebKit::WebProcessProxy::processWillShutDown):
(WebKit::WebProcessProxy::shutDown):
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/GraphicsLayerCARemote.mm:
(WebKit::GraphicsLayerCARemote::~GraphicsLayerCARemote):
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.mm:
(WebKit::PlatformCALayerRemote::~PlatformCALayerRemote):
* Tools/TestWebKitAPI/Tests/WTF/Ref.cpp:
(TestWebKitAPI::PartiallyDestroyedRefTest::~PartiallyDestroyedRefTest):
(TestWebKitAPI::PartiallyDestroyedRefTestThreadSafe::~PartiallyDestroyedRefTestThreadSafe):
* Tools/TestWebKitAPI/Tests/WTF/RefPtr.cpp:
(TestWebKitAPI::PartiallyDestroyedRefPtrTest::~PartiallyDestroyedRefPtrTest):
(TestWebKitAPI::PartiallyDestroyedRefPtrTestThreadSafe::~PartiallyDestroyedRefPtrTestThreadSafe):

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