Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9ce45a962bc409aa1d631710a131ea80f8337fa
https://github.com/WebKit/WebKit/commit/b9ce45a962bc409aa1d631710a131ea80f8337fa
Author: Per Arne Vollan <[email protected]>
Date: 2025-10-02 (Thu, 02 Oct 2025)
Changed paths:
M Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm
Log Message:
-----------
Crash under VTIsHardwareDecodeSupported
https://bugs.webkit.org/show_bug.cgi?id=299949
rdar://157511010
Reviewed by Youenn Fablet.
We are receiving reports about crashes under VTIsHardwareDecodeSupported. The
reports indicate that the crashes are
due to leaks related to IOKit connections. VTIsHardwareDecodeSupported is being
called in response to the
UpdateGPUProcessPreferences message, and it's possible that this message is
being sent many times. This patch
speculatively addresses the issue by calling VTIsHardwareDecodeSupported only
once, which should be sufficient.
* Source/WebCore/platform/graphics/cocoa/VP9UtilitiesCocoa.mm:
(WebCore::vp9HardwareDecoderAvailable):
(WebCore::vp9HardwareDecoderAvailableInProcess):
Canonical link: https://commits.webkit.org/300866@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