Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a01d38ad6be4e708e365f2c43870ca7928c49f3
      
https://github.com/WebKit/WebKit/commit/7a01d38ad6be4e708e365f2c43870ca7928c49f3
  Author: Chris Dumez <[email protected]>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M Source/WebCore/Modules/webaudio/AudioBasicProcessorNode.cpp
    M Source/WebCore/Modules/webaudio/AudioBuffer.h
    M Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp
    M Source/WebCore/Modules/webaudio/AudioDestinationNode.cpp
    M Source/WebCore/Modules/webaudio/AudioListener.h
    M Source/WebCore/Modules/webaudio/AudioNode.cpp
    M Source/WebCore/Modules/webaudio/AudioNodeInput.cpp
    M Source/WebCore/Modules/webaudio/AudioParam.cpp
    M Source/WebCore/Modules/webaudio/AudioWorkletNode.cpp
    M Source/WebCore/Modules/webaudio/ChannelSplitterNode.cpp
    M Source/WebCore/Modules/webaudio/ConstantSourceNode.cpp
    M Source/WebCore/Modules/webaudio/ConvolverNode.cpp
    M Source/WebCore/Modules/webaudio/DynamicsCompressorNode.cpp
    M Source/WebCore/Modules/webaudio/GainNode.cpp
    M Source/WebCore/Modules/webaudio/OscillatorNode.cpp
    M Source/WebCore/Modules/webaudio/PannerNode.cpp
    M Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp
    M Source/WebCore/Modules/webaudio/StereoPannerNode.cpp
    M Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp
    M Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/accessibility/AccessibilityObject.cpp
    M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
    M Source/WebCore/bindings/js/JSAbortSignalCustom.cpp
    M Source/WebCore/bindings/js/JSCSSRuleListCustom.cpp
    M Source/WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp
    M Source/WebCore/bindings/js/JSHTMLElementCustom.cpp
    M Source/WebCore/bindings/js/JSIDBCursorCustom.cpp
    M Source/WebCore/bindings/js/JSIDBRequestCustom.cpp
    M Source/WebCore/bindings/js/JSLocationCustom.cpp
    M Source/WebCore/bindings/js/JSMessagePortCustom.cpp
    M Source/WebCore/bindings/js/JSNavigateEventCustom.cpp
    M Source/WebCore/bindings/js/JSPluginElementFunctions.cpp
    M Source/WebCore/bindings/js/JSPluginElementFunctions.h
    M Source/WebCore/bindings/js/JSResizeObserverCustom.cpp
    M Source/WebCore/bindings/js/JSTextTrackCueCustom.cpp
    M Source/WebCore/bridge/objc/WebScriptObject.mm
    M Source/WebCore/css/CSSStyleSheet.cpp
    M Source/WebCore/css/CSSStyleSheet.h
    M Source/WebCore/css/values/CSSValueAggregates.h
    M Source/WebCore/dom/ScriptedAnimationController.h
    M Source/WebCore/inspector/InspectorIdentifierRegistry.cpp
    M Source/WebCore/inspector/InspectorIdentifierRegistry.h
    M Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
    M Source/WebCore/inspector/agents/InspectorPageAgent.cpp
    M Source/WebCore/inspector/agents/InspectorPageAgent.h
    M Source/WebCore/page/IntersectionObserver.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/ios/FrameIOS.mm
    M 
Source/WebCore/platform/graphics/filters/software/FEMorphologySoftwareApplier.cpp
    M Source/WebCore/style/StyleResolver.h
    M Source/WebCore/svg/SVGUseElement.cpp
    M Source/WebCore/svg/SVGUseElement.h
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/LegacyMockCDM.cpp

  Log Message:
  -----------
  [Safer CPP] Address a lot of the uncounted local variable warnings in WebCore/
https://bugs.webkit.org/show_bug.cgi?id=324139

Reviewed by Charlie Wolfe.

* Source/WebCore/Modules/webaudio/AudioBasicProcessorNode.cpp:
(WebCore::AudioBasicProcessorNode::process):
* Source/WebCore/Modules/webaudio/AudioBuffer.h:
* Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::process):
* Source/WebCore/Modules/webaudio/AudioDestinationNode.cpp:
(WebCore::AudioDestinationNode::renderQuantum):
* Source/WebCore/Modules/webaudio/AudioListener.h:
* Source/WebCore/Modules/webaudio/AudioNode.cpp:
(WebCore::AudioNode::connect):
* Source/WebCore/Modules/webaudio/AudioNodeInput.cpp:
(WebCore::AudioNodeInput::sumAllConnections):
* Source/WebCore/Modules/webaudio/AudioParam.cpp:
(WebCore::AudioParam::calculateFinalValues):
* Source/WebCore/Modules/webaudio/AudioWorkletNode.cpp:
(WebCore::AudioWorkletNode::create):
* Source/WebCore/Modules/webaudio/ChannelSplitterNode.cpp:
(WebCore::ChannelSplitterNode::process):
* Source/WebCore/Modules/webaudio/ConstantSourceNode.cpp:
(WebCore::ConstantSourceNode::process):
* Source/WebCore/Modules/webaudio/ConvolverNode.cpp:
(WebCore::ConvolverNode::process):
* Source/WebCore/Modules/webaudio/DynamicsCompressorNode.cpp:
(WebCore::DynamicsCompressorNode::process):
* Source/WebCore/Modules/webaudio/GainNode.cpp:
(WebCore::GainNode::process):
* Source/WebCore/Modules/webaudio/OscillatorNode.cpp:
(WebCore::OscillatorNode::process):
* Source/WebCore/Modules/webaudio/PannerNode.cpp:
(WebCore::PannerNode::process):
(WebCore::PannerNode::azimuthElevation const):
(WebCore::PannerNode::invalidateCachedPropertiesIfNecessary):
* Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp:
(WebCore::ScriptProcessorNode::process):
(WebCore::ScriptProcessorNode::fireProcessEvent):
* Source/WebCore/Modules/webaudio/StereoPannerNode.cpp:
(WebCore::StereoPannerNode::process):
* Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::imageFromRenderer):
* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(AccessibilityUnignoredAncestor):
(-[WebAccessibilityObjectWrapper hasImageControls]):
(-[WebAccessibilityObjectWrapper _collectAccessibilityElements:]):
(ancestorWithRole):
(-[WebAccessibilityObjectWrapper _accessibilityFieldsetAncestor]):
(-[WebAccessibilityObjectWrapper _accessibilityTraitsFromAncestors]):
(-[WebAccessibilityObjectWrapper _accessibilityTextEntryTraits]):
(-[WebAccessibilityObjectWrapper accessibilityTraits]):
(-[WebAccessibilityObjectWrapper accessibilityContainer]):
* Source/WebCore/bindings/js/JSHTMLElementCustom.cpp:
(WebCore::JSHTMLElement::pushEventHandlerScope const):
* Source/WebCore/bindings/js/JSPluginElementFunctions.cpp:
(WebCore::pluginInstance):
* Source/WebCore/bindings/js/JSPluginElementFunctions.h:
* Source/WebCore/bridge/objc/WebScriptObject.mm:
(+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]):
* Source/WebCore/dom/ScriptedAnimationController.h:
* Source/WebCore/inspector/InspectorIdentifierRegistry.cpp:
(Inspector::LegacyIdentifierRegistry::assertFrame):
(Inspector::BackendIdentifierRegistry::assertFrame):
* Source/WebCore/inspector/InspectorIdentifierRegistry.h:
* Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp:
(WebCore::InspectorNetworkAgent::buildObjectForMetrics):
* Source/WebCore/inspector/agents/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::assertFrame):
(WebCore::InspectorPageAgent::buildObjectForFrameTree):
* Source/WebCore/inspector/agents/InspectorPageAgent.h:
* Source/WebCore/page/IntersectionObserver.cpp:
(WebCore::IntersectionObserver::nowTimestamp const):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::clear):
(WebCore::LocalFrameView::didReplaceMultipartContent):
(WebCore::LocalFrameView::flushCompositingStateForThisFrame):
(WebCore::LocalFrameView::adjustTiledBackingCoverage):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDispatchSimulatedMouseEvents const):
* Source/WebCore/page/ios/FrameIOS.mm:
(WebCore::LocalFrame::renderRectForPoint const):
(WebCore::LocalFrame::interpretationsForCurrentRoot const):
* 
Source/WebCore/platform/graphics/filters/software/FEMorphologySoftwareApplier.cpp:
(WebCore::FEMorphologySoftwareApplier::apply const):
* Source/WebCore/style/StyleResolver.h:
* Source/WebCore/svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::visibleTargetGraphicsElement const):
* Source/WebCore/svg/SVGUseElement.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::resetToConsistentState):
(WebCore::Internals::Internals):
(WebCore::Internals::settings const):
(WebCore::Internals::inflightBeaconsCount const):
(WebCore::Internals::isLoadingFromMemoryCache):
(WebCore::Internals::getResourcePriority):
(WebCore::imageFromImageElement):
(WebCore::Internals::imageFrameIndex):
(WebCore::Internals::imageFrameCount):
(WebCore::Internals::forceDecodeImageFrameAtIndex):
(WebCore::Internals::imageFrameDurationAtIndex):
(WebCore::Internals::setImageFrameDecodingDuration):
(WebCore::Internals::resetImageAnimation):
(WebCore::Internals::isImageAnimating):
(WebCore::Internals::setImageAnimationEnabled):
(WebCore::Internals::setClearDecoderAfterAsyncFrameRequestForTesting):
(WebCore::Internals::imageDecodeCount):
(WebCore::Internals::imageBlankDrawCount):
(WebCore::Internals::imageLastDecodingOptions):
(WebCore::Internals::setAsyncDecodingEnabledForTesting):
(WebCore::Internals::setHasHDRContentForTesting):
(WebCore::Internals::disableTileSizeUpdateDelay):
(WebCore::Internals::animationsInterval const):
(WebCore::Internals::suspendAnimations const):
(WebCore::Internals::resumeAnimations const):
(WebCore::Internals::preferredRenderingUpdateInterval):
(WebCore::Internals::isTimerThrottled):
(WebCore::Internals::isTimerAligned):
(WebCore::Internals::requestAnimationFrameThrottlingReasons const):
(WebCore::Internals::visiblePlaceholder):
(WebCore::Internals::setFormControlStateOfPreviousHistoryItem):
(WebCore::Internals::enableMockSpeechSynthesizer):
(WebCore::Internals::enableMockSpeechSynthesizerForMediaElement):
(WebCore::Internals::setICECandidateFiltering):
(WebCore::Internals::setEnumeratingAllNetworkInterfacesEnabled):
(WebCore::Internals::clearPeerConnectionFactory):
(WebCore::Internals::clearWebRTCCodecsConnection):
(WebCore::Internals::setWebRTCH265Support):
(WebCore::Internals::setWebRTCVP9Support):
(WebCore::Internals::disableWebRTCHardwareVP9):
(WebCore::Internals::isSupportingVP9HardwareDecoder const):
(WebCore::Internals::isSupportingAV1HardwareDecoder const):
(WebCore::Internals::absoluteLineRectFromPoint):
(WebCore::Internals::inspectorPaintRectCount):
(WebCore::Internals::snapshotNode):
(WebCore::Internals::setLowPowerModeEnabled):
(WebCore::Internals::setAggressiveThermalMitigationEnabled):
(WebCore::Internals::setOutsideViewportThrottlingEnabled):
(WebCore::Internals::setScrollViewPosition):
(WebCore::Internals::unconstrainedScrollTo):
(WebCore::Internals::scrollBySimulatingWheelEvent):
(WebCore::Internals::layoutViewportRect):
(WebCore::Internals::visualViewportRect):
(WebCore::Internals::windowClipRect):
(WebCore::Internals::exposedContentRect):
(WebCore::Internals::scrollElementToRect):
(WebCore::Internals::delegatesScrollingToNativeView):
(WebCore::Internals::nodesFromRect const):
(WebCore::Internals::nodeFromPointIncludingChildFrames const):
(WebCore::Internals::updateEditorUINowIfScheduled):
(WebCore::Internals::storageAreaMapCount const):
(WebCore::Internals::numberOfScrollableAreas):
(WebCore::Internals::horizontalScrollbarFrameRect const):
(WebCore::Internals::verticalScrollbarFrameRect const):
(WebCore::Internals::platformLayerTreeAsText const):
(WebCore:: const):
(WebCore::Internals::scrollingStateTreeAsText const):
(WebCore::Internals::scrollingTreeAsText const):
(WebCore::Internals::haveScrollingTree const):
(WebCore::Internals::synchronousScrollingReasons const):
(WebCore::Internals::nonFastScrollableRects const):
(WebCore::Internals::setElementUsesDisplayListDrawing):
(WebCore::Internals::setElementTracksDisplayListReplay):
(WebCore::Internals::displayListForElement):
(WebCore::Internals::replayDisplayListForElement):
(WebCore::Internals::shortcutIconURLs const):
(WebCore::Internals::setFullscreenInsets):
(WebCore::Internals::updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks):
(WebCore::Internals::mediaResponseSources):
(WebCore::Internals::mediaResponseContentRanges):
(WebCore::Internals::setCaptionDisplayMode):
(WebCore::Internals::setMockCaptionDisplaySettingsClientCallback):
(WebCore::Internals::suspendAllMediaBuffering):
(WebCore::Internals::suspendAllMediaPlayback):
(WebCore::Internals::resumeAllMediaPlayback):
(WebCore::Internals::setMockMediaPlaybackTargetPickerEnabled):
(WebCore::Internals::setMockMediaPlaybackTargetPickerState):
(WebCore::Internals::mockMediaPlaybackTargetPickerDismissPopup):
(WebCore::Internals::mockMediaPlaybackTargetPickerRect):
(WebCore::Internals::setPageMuted):
(WebCore::Internals::setPageDefersLoading):
(WebCore::Internals::grantUniversalAccess):
(WebCore::Internals::disableCORSForURL):
(WebCore::Internals::createFile):
(WebCore::Internals::asyncCreateFile):
(WebCore::Internals::queueMicroTask):
(WebCore::Internals::setPageMediaVolume):
(WebCore::Internals::pageMediaVolume):
(WebCore::Internals::setShowAllPlugins):
(WebCore::Internals::userIsInteracting):
(WebCore::Internals::hasTransientActivation):
(WebCore::Internals::consumeTransientActivation):
(WebCore::Internals::setUserInterfaceLayoutDirection):
(WebCore::Internals::setBaseWritingDirection):
(WebCore::Internals::pageHasPendingPointerLock const):
(WebCore::Internals::pageHasPointerLock const):
(WebCore::Internals::hasSameEventLoopAs):
(WebCore::Internals::updatePageActivityState):
(WebCore::Internals::isPageActive const):
(WebCore::Internals::setMockAudioTrackChannelNumber):
(WebCore::Internals::setCameraMediaStreamTrackOrientation):
(WebCore::Internals::storeRegistrationsOnDisk):
(WebCore::Internals::sendH2Ping):
(WebCore::Internals::updateQuotaBasedOnSpaceUsage):
(WebCore::Internals::mockPaymentCoordinator):
(WebCore::Internals::requestTextRecognition):
(WebCore::Internals::reloadWithoutContentExtensions):
(WebCore::Internals::disableContentExtensionsChecks):
(WebCore::scrollPositionForPlugin):
(WebCore::Internals::setCookie):
(WebCore::Internals::getCookies const):
(WebCore::Internals::webDriverGetCookies const):
(WebCore::Internals::testDictionaryLogging):
(WebCore::Internals::highlightPseudoElementColor):
(WebCore::Internals::setMockWebAuthenticationConfiguration):
(WebCore::Internals::dumpStyleResolvers):
(WebCore::Internals::setDocumentAutoplayPolicy):
(WebCore::Internals::dumpJSNodeStatistics):
(WebCore::Internals::isVisuallyNonEmpty const):
(WebCore::Internals::isUsingUISideCompositing const):
(WebCore::Internals::hasMediaSessionManager const):
* Source/WebCore/testing/LegacyMockCDM.cpp:
(WebCore::initDataPrefix):
(WebCore::keyPrefix):
(WebCore::keyRequest):

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



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

Reply via email to