Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0c52e49e06e66eb2fa1be098e1245766c65667cf
      
https://github.com/WebKit/WebKit/commit/0c52e49e06e66eb2fa1be098e1245766c65667cf
  Author: Youenn Fablet <[email protected]>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp
    M Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.h

  Log Message:
  -----------
  Crash on opening camera from Webview in iOS 18.4
rdar://148431362
https://bugs.webkit.org/show_bug.cgi?id=289459

Reviewed by Jean-Yves Avenard.

We create the timer only when needed.
This ensures that the timer will only be created in GPUProcess and not 
UIProcess where it may hit a release assert in case WebKit1 is used as well.

* Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.cpp:
(WebCore::BaseAudioSharedUnit::BaseAudioSharedUnit):
(WebCore::BaseAudioSharedUnit::voiceActivityDetected):
(WebCore::BaseAudioSharedUnit::disableVoiceActivityThrottleTimerForTesting):
* Source/WebCore/platform/mediastream/mac/BaseAudioSharedUnit.h:
(WebCore::BaseAudioSharedUnit::disableVoiceActivityThrottleTimerForTesting): 
Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to