[webkit-changes] [WebKit/WebKit] a7f4b0: AudioConverterNew triggers FastMalloc allocations

youennf noreply at github.com
Tue Feb 20 11:58:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7f4b07d854b6715e93b40cd5f6fd55e9286f8ba
      https://github.com/WebKit/WebKit/commit/a7f4b07d854b6715e93b40cd5f6fd55e9286f8ba
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2024-02-20 (Tue, 20 Feb 2024)

  Changed paths:
    M Source/WebCore/platform/audio/cocoa/AudioSampleDataConverter.mm

  Log Message:
  -----------
  AudioConverterNew triggers FastMalloc allocations
rdar://123032034
https://bugs.webkit.org/show_bug.cgi?id=269794

Reviewed by Eric Carlson.

Allocations in registerLogHook may be triggered when creating a converter.
We disable the warning by using DisableMallocRestrictionsForCurrentThreadScope.

* Source/WebCore/platform/audio/cocoa/AudioSampleDataConverter.mm:
(WebCore::AudioSampleDataConverter::Converter::initialize):

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