Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57f28a719c6d9dbbc1102eed2112584fbaf63614
      
https://github.com/WebKit/WebKit/commit/57f28a719c6d9dbbc1102eed2112584fbaf63614
  Author: Geoffrey Garen <[email protected]>
  Date:   2025-12-01 (Mon, 01 Dec 2025)

  Changed paths:
    M Source/WTF/wtf/RefPtr.h
    M Source/WTF/wtf/WeakPtr.h
    M Source/WebCore/Modules/filesystem/WorkerFileSystemStorageConnection.cpp
    M Source/WebCore/Modules/indexeddb/server/IDBServer.cpp
    M Source/WebCore/Modules/indexeddb/server/MemoryBackingStoreTransaction.cpp
    M Source/WebCore/Modules/web-locks/WebLockRegistry.cpp
    M Source/WebCore/accessibility/AXObjectCache.h
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/TreeScope.cpp
    M Source/WebCore/html/HTMLAnchorElement.cpp
    M Source/WebCore/html/HTMLFormElement.cpp
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
    M Source/WebCore/inspector/agents/InspectorPageAgent.cpp
    M Source/WebCore/inspector/agents/InspectorWorkerAgent.cpp
    M Source/WebCore/loader/DocumentLoader.cpp
    M Source/WebCore/loader/cache/MemoryCache.cpp
    M Source/WebCore/page/LocalFrame.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/platform/audio/PlatformMediaSessionTypes.h
    M Source/WebCore/rendering/RenderBlock.cpp
    M Source/WebCore/rendering/RenderBoxModelObject.cpp
    M Source/WebCore/rendering/RenderMultiColumnFlow.cpp
    M Source/WebCore/rendering/RenderTableSection.cpp
    M Source/WebCore/rendering/RenderTableSection.h
    M Source/WebCore/rendering/RenderText.cpp
    M Source/WebCore/rendering/RenderView.cpp
    M Source/WebCore/style/AnchorPositionEvaluator.cpp
    M 
Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.cpp
    M Source/WebKit/NetworkProcess/storage/CacheStorageRegistry.cpp
    M Source/WebKit/NetworkProcess/storage/FileSystemStorageHandleRegistry.cpp
    M Source/WebKit/NetworkProcess/storage/IDBStorageRegistry.cpp
    M Source/WebKit/NetworkProcess/storage/StorageAreaRegistry.cpp
    M Source/WebKit/Platform/IPC/MessageReceiverMap.cpp
    M Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp
    M Source/WebKit/UIProcess/BrowsingContextGroup.cpp
    M Source/WebKit/UIProcess/BrowsingContextGroup.h
    M Source/WebKit/UIProcess/Cocoa/NavigationState.mm
    M Source/WebKit/UIProcess/Extensions/WebExtensionController.cpp
    M Source/WebKit/UIProcess/WebBackForwardCache.cpp
    M Source/WebKit/UIProcess/WebBackForwardCache.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebProcessPool.h
    M Source/WebKit/UIProcess/WebProcessProxy.cpp
    M Source/WebKit/UIProcess/WebProcessProxy.h
    M Source/WebKit/WebProcess/Extensions/Cocoa/WebExtensionContextProxyCocoa.mm
    M Source/WebKit/WebProcess/Extensions/WebExtensionControllerProxy.cpp
    M Source/WebKit/WebProcess/GPU/media/RemoteCDMFactory.cpp
    M Source/WebKit/WebProcess/GPU/media/RemoteImageDecoderAVFManager.cpp
    M Source/WebKit/WebProcess/GPU/media/RemoteLegacyCDMFactory.cpp
    M Source/WebKit/WebProcess/GPU/webrtc/SampleBufferDisplayLayerManager.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  Add HashTraits for WeakPtr
https://bugs.webkit.org/show_bug.cgi?id=303160
rdar://165466902

Reviewed by Chris Dumez.

This eliminates the need for .get().get() when loading from a hash table.

It's also a step toward storing WeakPtr<T> in weak hash tables, which will
enable a more efficient style of weak pointer.

Returning raw pointer reveals some places where we need to declare a
local RefPtr, so I added some RefPtrs.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to