[webkit-changes] [WebKit/WebKit] 563f1b: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Web...

Chris Dumez noreply at github.com
Fri Dec 27 13:44:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 563f1bbd4b2ca0508561c9a562663a4fe0b12866
      https://github.com/WebKit/WebKit/commit/563f1bbd4b2ca0508561c9a562663a4fe0b12866
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M Source/WTF/wtf/FastMalloc.h
    M Source/WTF/wtf/MallocSpan.h
    M Source/WebCore/Modules/webaudio/PannerNode.cpp
    M Source/WebCore/platform/audio/AudioArray.h
    M Source/WebCore/platform/audio/AudioBus.cpp
    M Source/WebCore/platform/audio/AudioChannel.cpp
    M Source/WebCore/platform/audio/AudioChannel.h
    M Source/WebCore/platform/audio/AudioResampler.cpp
    M Source/WebCore/platform/audio/AudioResamplerKernel.cpp
    M Source/WebCore/platform/audio/AudioResamplerKernel.h
    M Source/WebCore/platform/audio/AudioSession.cpp
    M Source/WebCore/platform/audio/AudioUtilities.cpp
    M Source/WebCore/platform/audio/Biquad.cpp
    M Source/WebCore/platform/audio/DirectConvolver.cpp
    M Source/WebCore/platform/audio/DownSampler.cpp
    M Source/WebCore/platform/audio/DynamicsCompressor.cpp
    M Source/WebCore/platform/audio/DynamicsCompressor.h
    M Source/WebCore/platform/audio/DynamicsCompressorKernel.cpp
    M Source/WebCore/platform/audio/DynamicsCompressorKernel.h
    M Source/WebCore/platform/audio/EqualPowerPanner.cpp
    M Source/WebCore/platform/audio/EqualPowerPanner.h
    M Source/WebCore/platform/audio/FFTConvolver.cpp
    M Source/WebCore/platform/audio/HRTFElevation.cpp
    M Source/WebCore/platform/audio/HRTFKernel.cpp
    M Source/WebCore/platform/audio/HRTFPanner.cpp
    M Source/WebCore/platform/audio/HRTFPanner.h
    M Source/WebCore/platform/audio/IIRFilter.cpp
    M Source/WebCore/platform/audio/Panner.h
    M Source/WebCore/platform/audio/PlatformMediaSession.cpp
    M Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp
    M Source/WebCore/platform/audio/PlatformMediaSessionManager.h
    M Source/WebCore/platform/audio/PushPullFIFO.cpp
    M Source/WebCore/platform/audio/ReverbAccumulationBuffer.cpp
    M Source/WebCore/platform/audio/ReverbAccumulationBuffer.h
    M Source/WebCore/platform/audio/ReverbConvolverStage.cpp
    M Source/WebCore/platform/audio/ReverbInputBuffer.cpp
    M Source/WebCore/platform/audio/StereoPanner.cpp
    M Source/WebCore/platform/audio/UpSampler.cpp
    M Source/WebCore/platform/audio/ZeroPole.cpp
    M Source/WebCore/platform/audio/ZeroPole.h

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/platform/audio
https://bugs.webkit.org/show_bug.cgi?id=285173

Reviewed by Geoffrey Garen.

* Source/WebCore/Modules/webaudio/PannerNode.cpp:
(WebCore::PannerNode::processSampleAccurateValues):
* Source/WebCore/platform/audio/AudioArray.h:
(WebCore::AudioArray::~AudioArray):
(WebCore::AudioArray::resize):
(WebCore::AudioArray::span):
(WebCore::AudioArray::span const):
(WebCore::AudioArray::data):
(WebCore::AudioArray::data const):
(WebCore::AudioArray::size const):
(WebCore::AudioArray::isEmpty const):
(WebCore::AudioArray::at):
(WebCore::AudioArray::at const):
(WebCore::AudioArray::containsConstantValue const):
(): Deleted.
* Source/WebCore/platform/audio/AudioBus.cpp:
* Source/WebCore/platform/audio/AudioChannel.cpp:
* Source/WebCore/platform/audio/AudioChannel.h:
* Source/WebCore/platform/audio/AudioResampler.cpp:
(WebCore::AudioResampler::process):
* Source/WebCore/platform/audio/AudioResamplerKernel.cpp:
(WebCore::AudioResamplerKernel::process):
* Source/WebCore/platform/audio/AudioResamplerKernel.h:
* Source/WebCore/platform/audio/AudioSession.cpp:
(WebCore::convertEnumerationToString):
* Source/WebCore/platform/audio/AudioUtilities.cpp:
* Source/WebCore/platform/audio/Biquad.cpp:
(WebCore::Biquad::process):
(WebCore::Biquad::reset):
* Source/WebCore/platform/audio/DirectConvolver.cpp:
(WebCore::DirectConvolver::process):
* Source/WebCore/platform/audio/DownSampler.cpp:
(WebCore::DownSampler::process):
* Source/WebCore/platform/audio/DynamicsCompressor.cpp:
(WebCore::DynamicsCompressor::process):
(WebCore::DynamicsCompressor::setNumberOfChannels):
* Source/WebCore/platform/audio/DynamicsCompressor.h:
* Source/WebCore/platform/audio/DynamicsCompressorKernel.cpp:
(WebCore::DynamicsCompressorKernel::process):
* Source/WebCore/platform/audio/DynamicsCompressorKernel.h:
* Source/WebCore/platform/audio/EqualPowerPanner.cpp:
(WebCore::EqualPowerPanner::panWithSampleAccurateValues):
* Source/WebCore/platform/audio/EqualPowerPanner.h:
* Source/WebCore/platform/audio/FFTConvolver.cpp:
* Source/WebCore/platform/audio/HRTFElevation.cpp:
* Source/WebCore/platform/audio/HRTFKernel.cpp:
* Source/WebCore/platform/audio/HRTFPanner.cpp:
(WebCore::HRTFPanner::panWithSampleAccurateValues):
* Source/WebCore/platform/audio/HRTFPanner.h:
* Source/WebCore/platform/audio/IIRFilter.cpp:
(WebCore::evaluatePolynomial):
(WebCore::IIRFilter::process):
(WebCore::IIRFilter::getFrequencyResponse):
* Source/WebCore/platform/audio/Panner.h:
* Source/WebCore/platform/audio/PlatformMediaSession.cpp:
(WebCore::convertEnumerationToString):
* Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp:
* Source/WebCore/platform/audio/PlatformMediaSessionManager.h:
* Source/WebCore/platform/audio/PushPullFIFO.cpp:
* Source/WebCore/platform/audio/ReverbAccumulationBuffer.cpp:
(WebCore::ReverbAccumulationBuffer::accumulate):
* Source/WebCore/platform/audio/ReverbAccumulationBuffer.h:
* Source/WebCore/platform/audio/ReverbConvolverStage.cpp:
(WebCore::ReverbConvolverStage::process):
* Source/WebCore/platform/audio/ReverbInputBuffer.cpp:
* Source/WebCore/platform/audio/StereoPanner.cpp:
(WebCore::StereoPanner::panWithSampleAccurateValues):
* Source/WebCore/platform/audio/UpSampler.cpp:
(WebCore::UpSampler::process):
* Source/WebCore/platform/audio/ZeroPole.cpp:
(WebCore::ZeroPole::process):
* Source/WebCore/platform/audio/ZeroPole.h:

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