[webkit-changes] [WebKit/WebKit] 7b532f: [TZone] Remaining WebCore files - Convert FastMall...

Michael Saboff noreply at github.com
Thu Aug 29 11:20:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7b532fff8f7438cf9a7d38381986cc332e0d6f14
      https://github.com/WebKit/WebKit/commit/7b532fff8f7438cf9a7d38381986cc332e0d6f14
  Author: Michael Saboff <msaboff at apple.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M Source/WebCore/Modules/fetch/FormDataConsumer.h
    M Source/WebCore/Modules/mediastream/RTCDataChannelRemoteHandler.h
    M Source/WebCore/Modules/notifications/NotificationResourcesLoader.h
    M Source/WebCore/Modules/push-api/PushDatabase.h
    M Source/WebCore/Modules/websockets/WebSocketDeflater.cpp
    M Source/WebCore/PAL/pal/HysteresisActivity.h
    M Source/WebCore/PAL/pal/ThreadGlobalData.cpp
    M Source/WebCore/PAL/pal/ThreadGlobalData.h
    M Source/WebCore/PAL/pal/crypto/CryptoDigest.h
    M Source/WebCore/PAL/pal/system/Clock.h
    M Source/WebCore/PAL/pal/system/mac/SystemSleepListenerMac.h
    M Source/WebCore/PAL/pal/system/mac/SystemSleepListenerMac.mm
    M Source/WebCore/PAL/pal/text/KillRing.cpp
    M Source/WebCore/PAL/pal/text/KillRing.h
    M Source/WebCore/PAL/pal/text/TextCodec.cpp
    M Source/WebCore/PAL/pal/text/TextCodec.h
    M Source/WebCore/PAL/pal/text/mac/KillRingMac.mm
    M Source/WebCore/accessibility/AXTextMarker.h
    M Source/WebCore/accessibility/AXTreeStore.h
    M Source/WebCore/bindings/js/GCController.cpp
    M Source/WebCore/bridge/Bridge.h
    M Source/WebCore/bridge/IdentifierRep.cpp
    M Source/WebCore/bridge/IdentifierRep.h
    M Source/WebCore/bridge/jsc/BridgeJSC.cpp
    M Source/WebCore/bridge/jsc/BridgeJSC.h
    M Source/WebCore/contentextensions/ContentExtensionsBackend.cpp
    M Source/WebCore/contentextensions/ContentExtensionsBackend.h
    M Source/WebCore/crypto/CryptoAlgorithmParameters.h
    M Source/WebCore/css/CSSRuleList.h
    M Source/WebCore/css/CSSSelector.cpp
    M Source/WebCore/css/CSSSelector.h
    M Source/WebCore/css/CSSSelectorList.cpp
    M Source/WebCore/css/CSSSelectorList.h
    M Source/WebCore/css/calc/CSSCalcTree.h
    M Source/WebCore/css/color/CSSUnresolvedColor.cpp
    M Source/WebCore/css/color/CSSUnresolvedColor.h
    M Source/WebCore/css/parser/MutableCSSSelector.cpp
    M Source/WebCore/css/parser/MutableCSSSelector.h
    M Source/WebCore/editing/AlternativeTextController.cpp
    M Source/WebCore/editing/AlternativeTextController.h
    M Source/WebCore/editing/CompositeEditCommand.cpp
    M Source/WebCore/editing/CompositeEditCommand.h
    M Source/WebCore/editing/EditingStyle.cpp
    M Source/WebCore/editing/Editor.cpp
    M Source/WebCore/editing/Editor.h
    M Source/WebCore/editing/FrameSelection.cpp
    M Source/WebCore/editing/FrameSelection.h
    M Source/WebCore/editing/ReplaceSelectionCommand.cpp
    M Source/WebCore/editing/SelectionGeometryGatherer.cpp
    M Source/WebCore/editing/SelectionGeometryGatherer.h
    M Source/WebCore/editing/SpellChecker.cpp
    M Source/WebCore/editing/SpellChecker.h
    M Source/WebCore/editing/TextIterator.cpp
    M Source/WebCore/editing/TextIterator.h
    M Source/WebCore/editing/TextManipulationController.cpp
    M Source/WebCore/editing/TextManipulationController.h
    M Source/WebCore/editing/cocoa/AlternativeTextUIController.h
    M Source/WebCore/editing/cocoa/AlternativeTextUIController.mm
    M Source/WebCore/editing/cocoa/AutofillElements.cpp
    M Source/WebCore/editing/cocoa/AutofillElements.h
    M Source/WebCore/editing/cocoa/HTMLConverter.mm
    M Source/WebCore/fileapi/AsyncFileStream.cpp
    M Source/WebCore/fileapi/AsyncFileStream.h
    M Source/WebCore/fileapi/BlobLoader.h
    M Source/WebCore/history/BackForwardCache.cpp
    M Source/WebCore/history/BackForwardCache.h
    M Source/WebCore/history/BackForwardController.cpp
    M Source/WebCore/history/BackForwardController.h
    M Source/WebCore/history/CachedFrame.cpp
    M Source/WebCore/history/CachedFrame.h
    M Source/WebCore/history/CachedPage.cpp
    M Source/WebCore/history/CachedPage.h
    M Source/WebCore/history/HistoryItem.cpp
    M Source/WebCore/history/HistoryItem.h
    M Source/WebCore/inspector/InstrumentingAgents.h
    M Source/WebCore/inspector/agents/InspectorIndexedDBAgent.h
    M Source/WebCore/inspector/agents/InspectorNetworkAgent.h
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBox.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBox.h
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLine.h
    M Source/WebCore/layout/formattingContexts/inline/text/TextBreakingPositionCache.cpp
    M Source/WebCore/layout/formattingContexts/inline/text/TextBreakingPositionCache.h
    M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp
    M Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.h
    M Source/WebCore/layout/layouttree/LayoutBox.cpp
    M Source/WebCore/layout/layouttree/LayoutBox.h
    M Source/WebCore/loader/EmptyClients.cpp
    M Source/WebCore/loader/EmptyClients.h
    M Source/WebCore/page/CaptionUserPreferences.h
    M Source/WebCore/page/MemoryRelease.cpp
    M Source/WebCore/page/PageConfiguration.h
    M Source/WebCore/page/ios/ContentChangeObserver.h
    M Source/WebCore/platform/calc/CalculationTree.h
    M Source/WebCore/platform/graphics/egl/GLDisplay.h
    M Source/WebCore/platform/graphics/gstreamer/GstAllocatorFastMalloc.cpp
    M Source/WebCore/platform/graphics/win/FullScreenController.cpp
    M Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm
    M Source/WebCore/storage/StorageMap.cpp
    M Source/WebCore/storage/StorageMap.h
    M Source/WebCore/style/AnchorPositionEvaluator.cpp
    M Source/WebCore/style/AnchorPositionEvaluator.h
    M Source/WebCore/style/CustomPropertyRegistry.cpp
    M Source/WebCore/style/CustomPropertyRegistry.h
    M Source/WebCore/style/HasSelectorFilter.cpp
    M Source/WebCore/style/HasSelectorFilter.h
    M Source/WebCore/style/MatchedDeclarationsCache.cpp
    M Source/WebCore/style/MatchedDeclarationsCache.h
    M Source/WebCore/style/PropertyCascade.cpp
    M Source/WebCore/style/PropertyCascade.h
    M Source/WebCore/style/StyleBuilder.cpp
    M Source/WebCore/style/StyleBuilder.h
    M Source/WebCore/style/StyleScope.cpp
    M Source/WebCore/style/StyleScope.h
    M Source/WebCore/style/StyleUpdate.cpp
    M Source/WebCore/style/StyleUpdate.h
    M Source/WebCore/testing/InternalSettings.cpp
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/LegacyMockCDM.cpp
    M Source/WebCore/testing/LegacyMockCDM.h
    M Source/WebCore/testing/MockCDMFactory.cpp
    M Source/WebCore/testing/MockCDMFactory.h
    M Source/WebCore/testing/MockMediaSessionCoordinator.cpp
    M Source/WebCore/testing/MockMediaSessionCoordinator.h
    M Source/WebCore/testing/MockPaymentCoordinator.cpp
    M Source/WebCore/testing/MockPaymentCoordinator.h
    M Source/WebCore/testing/TypeConversions.h
    M Source/WebCore/testing/WebFakeXRDevice.cpp
    M Source/WebCore/testing/WebFakeXRDevice.h
    M Source/WebCore/xml/XMLErrors.cpp
    M Source/WebCore/xml/XMLErrors.h
    M Source/WebCore/xml/XPathExpressionNode.cpp
    M Source/WebCore/xml/XPathExpressionNode.h
    M Source/WebCore/xml/XPathStep.cpp
    M Source/WebCore/xml/XPathStep.h
    M Source/WebCore/xml/XSLImportRule.cpp
    M Source/WebCore/xml/XSLImportRule.h
    M Source/WebCore/xml/parser/XMLDocumentParser.cpp
    M Source/WebCore/xml/parser/XMLDocumentParser.h
    M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm

  Log Message:
  -----------
  [TZone] Remaining WebCore files - Convert FastMalloc to TZone
https://bugs.webkit.org/show_bug.cgi?id=278841
rdar://134910489

Reviewed by Yijia Huang.

Converted various WebCore classes from WTF_MAKE_FAST_ALLOCATED to WTF_MAKE_TZONE_ALLOCATED
(and related macros) in preparation for enabling TZone.
Also made some fixes to make sure building with TZones enabled works.
TZones are not enabled with the change.

* Source/WebCore/Modules/fetch/FormDataConsumer.h:
* Source/WebCore/Modules/mediastream/RTCDataChannelRemoteHandler.h:
* Source/WebCore/Modules/notifications/NotificationResourcesLoader.h:
* Source/WebCore/Modules/push-api/PushDatabase.h:
* Source/WebCore/Modules/websockets/WebSocketDeflater.cpp:
* Source/WebCore/PAL/pal/HysteresisActivity.h:
* Source/WebCore/PAL/pal/ThreadGlobalData.cpp:
* Source/WebCore/PAL/pal/ThreadGlobalData.h:
* Source/WebCore/PAL/pal/crypto/CryptoDigest.h:
* Source/WebCore/PAL/pal/system/Clock.h:
* Source/WebCore/PAL/pal/system/mac/SystemSleepListenerMac.h:
* Source/WebCore/PAL/pal/system/mac/SystemSleepListenerMac.mm:
* Source/WebCore/PAL/pal/text/KillRing.cpp:
* Source/WebCore/PAL/pal/text/KillRing.h:
* Source/WebCore/PAL/pal/text/TextCodec.cpp:
* Source/WebCore/PAL/pal/text/TextCodec.h:
* Source/WebCore/PAL/pal/text/mac/KillRingMac.mm:
* Source/WebCore/accessibility/AXTextMarker.h:
* Source/WebCore/accessibility/AXTreeStore.h:
* Source/WebCore/bindings/js/GCController.cpp:
* Source/WebCore/bridge/Bridge.h:
* Source/WebCore/bridge/IdentifierRep.cpp:
* Source/WebCore/bridge/IdentifierRep.h:
* Source/WebCore/bridge/jsc/BridgeJSC.cpp:
* Source/WebCore/bridge/jsc/BridgeJSC.h:
* Source/WebCore/contentextensions/ContentExtensionsBackend.cpp:
* Source/WebCore/contentextensions/ContentExtensionsBackend.h:
* Source/WebCore/crypto/CryptoAlgorithmParameters.h:
* Source/WebCore/css/CSSRuleList.h:
* Source/WebCore/css/CSSSelector.cpp:
* Source/WebCore/css/CSSSelector.h:
* Source/WebCore/css/CSSSelectorList.cpp:
* Source/WebCore/css/CSSSelectorList.h:
* Source/WebCore/css/calc/CSSCalcTree.h:
* Source/WebCore/css/color/CSSUnresolvedColor.cpp:
* Source/WebCore/css/color/CSSUnresolvedColor.h:
* Source/WebCore/css/parser/MutableCSSSelector.cpp:
* Source/WebCore/css/parser/MutableCSSSelector.h:
* Source/WebCore/editing/AlternativeTextController.cpp:
* Source/WebCore/editing/AlternativeTextController.h:
* Source/WebCore/editing/CompositeEditCommand.cpp:
* Source/WebCore/editing/CompositeEditCommand.h:
* Source/WebCore/editing/EditingStyle.cpp:
* Source/WebCore/editing/Editor.cpp:
* Source/WebCore/editing/Editor.h:
* Source/WebCore/editing/FrameSelection.cpp:
* Source/WebCore/editing/FrameSelection.h:
* Source/WebCore/editing/ReplaceSelectionCommand.cpp:
* Source/WebCore/editing/SelectionGeometryGatherer.cpp:
* Source/WebCore/editing/SelectionGeometryGatherer.h:
* Source/WebCore/editing/SpellChecker.cpp:
* Source/WebCore/editing/SpellChecker.h:
* Source/WebCore/editing/TextIterator.cpp:
* Source/WebCore/editing/TextIterator.h:
* Source/WebCore/editing/TextManipulationController.cpp:
* Source/WebCore/editing/TextManipulationController.h:
* Source/WebCore/editing/cocoa/AlternativeTextUIController.h:
* Source/WebCore/editing/cocoa/AlternativeTextUIController.mm:
* Source/WebCore/editing/cocoa/AutofillElements.cpp:
* Source/WebCore/editing/cocoa/AutofillElements.h:
* Source/WebCore/editing/cocoa/HTMLConverter.mm:
* Source/WebCore/fileapi/AsyncFileStream.cpp:
* Source/WebCore/fileapi/AsyncFileStream.h:
* Source/WebCore/fileapi/BlobLoader.h:
* Source/WebCore/history/BackForwardCache.cpp:
* Source/WebCore/history/BackForwardCache.h:
* Source/WebCore/history/BackForwardController.cpp:
* Source/WebCore/history/BackForwardController.h:
* Source/WebCore/history/CachedFrame.cpp:
* Source/WebCore/history/CachedFrame.h:
* Source/WebCore/history/CachedPage.cpp:
* Source/WebCore/history/CachedPage.h:
* Source/WebCore/history/HistoryItem.cpp:
* Source/WebCore/history/HistoryItem.h:
* Source/WebCore/inspector/InstrumentingAgents.h:
* Source/WebCore/inspector/agents/InspectorIndexedDBAgent.h:
* Source/WebCore/inspector/agents/InspectorNetworkAgent.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBox.cpp:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBox.h:
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayLine.h:
* Source/WebCore/layout/formattingContexts/inline/text/TextBreakingPositionCache.cpp:
* Source/WebCore/layout/formattingContexts/inline/text/TextBreakingPositionCache.h:
* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.cpp:
* Source/WebCore/layout/integration/flex/LayoutIntegrationFlexLayout.h:
* Source/WebCore/layout/layouttree/LayoutBox.cpp:
* Source/WebCore/layout/layouttree/LayoutBox.h:
* Source/WebCore/loader/EmptyClients.cpp:
* Source/WebCore/loader/EmptyClients.h:
* Source/WebCore/page/CaptionUserPreferences.h:
* Source/WebCore/page/MemoryRelease.cpp:
* Source/WebCore/page/PageConfiguration.h:
* Source/WebCore/page/ios/ContentChangeObserver.h:
* Source/WebCore/platform/calc/CalculationTree.h:
* Source/WebCore/platform/graphics/egl/GLDisplay.h:
* Source/WebCore/platform/graphics/gstreamer/GstAllocatorFastMalloc.cpp:
* Source/WebCore/platform/graphics/win/FullScreenController.cpp:
* Source/WebCore/platform/xr/cocoa/PlatformXRCocoa.mm:
* Source/WebCore/storage/StorageMap.cpp:
* Source/WebCore/storage/StorageMap.h:
* Source/WebCore/style/AnchorPositionEvaluator.cpp:
* Source/WebCore/style/AnchorPositionEvaluator.h:
* Source/WebCore/style/CustomPropertyRegistry.cpp:
* Source/WebCore/style/CustomPropertyRegistry.h:
* Source/WebCore/style/HasSelectorFilter.cpp:
* Source/WebCore/style/HasSelectorFilter.h:
* Source/WebCore/style/MatchedDeclarationsCache.cpp:
* Source/WebCore/style/MatchedDeclarationsCache.h:
* Source/WebCore/style/PropertyCascade.cpp:
* Source/WebCore/style/PropertyCascade.h:
* Source/WebCore/style/StyleBuilder.cpp:
* Source/WebCore/style/StyleBuilder.h:
* Source/WebCore/style/StyleScope.cpp:
* Source/WebCore/style/StyleScope.h:
* Source/WebCore/style/StyleUpdate.cpp:
* Source/WebCore/style/StyleUpdate.h:
* Source/WebCore/testing/InternalSettings.cpp:
* Source/WebCore/testing/Internals.cpp:
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/LegacyMockCDM.cpp:
* Source/WebCore/testing/LegacyMockCDM.h:
* Source/WebCore/testing/MockCDMFactory.cpp:
* Source/WebCore/testing/MockCDMFactory.h:
* Source/WebCore/testing/MockMediaSessionCoordinator.cpp:
* Source/WebCore/testing/MockMediaSessionCoordinator.h:
* Source/WebCore/testing/MockPaymentCoordinator.cpp:
* Source/WebCore/testing/MockPaymentCoordinator.h:
* Source/WebCore/testing/TypeConversions.h:
* Source/WebCore/testing/WebFakeXRDevice.cpp:
* Source/WebCore/testing/WebFakeXRDevice.h:
* Source/WebCore/xml/XMLErrors.cpp:
* Source/WebCore/xml/XMLErrors.h:
* Source/WebCore/xml/XPathExpressionNode.cpp:
* Source/WebCore/xml/XPathExpressionNode.h:
* Source/WebCore/xml/XPathStep.cpp:
* Source/WebCore/xml/XPathStep.h:
* Source/WebCore/xml/XSLImportRule.cpp:
* Source/WebCore/xml/XSLImportRule.h:
* Source/WebCore/xml/parser/XMLDocumentParser.cpp:
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::loadInspectorBackgroundPage):

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