Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 93d411576938dfec7e6bb7aa7146936080cd78ce
https://github.com/WebKit/WebKit/commit/93d411576938dfec7e6bb7aa7146936080cd78ce
Author: Fady Farag <[email protected]>
Date: 2025-04-16 (Wed, 16 Apr 2025)
Changed paths:
M Source/WebCore/Modules/webaudio/AudioContext.cpp
M Source/WebCore/Modules/webaudio/AudioContext.h
M Source/WebCore/testing/Internals.cpp
Log Message:
-----------
Use enum class in webaudio/AudioContext
https://bugs.webkit.org/show_bug.cgi?id=291398
rdar://problem/149029423
Reviewed by Chris Dumez.
Using Safer CPP constructs to avoid type confusion, and make it easier to pass
over WebKit IPC.
* Source/WebCore/Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::constructCommon):
(WebCore::AudioContext::willPausePlayback):
(WebCore::AudioContext::willBeginPlayback):
(WebCore::AudioContext::mediaCanStart):
* Source/WebCore/Modules/webaudio/AudioContext.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::setAudioContextRestrictions):
Canonical link: https://commits.webkit.org/293764@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