mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb: Remove OOM error propagation from HTMLMediaElement (and friends)
This commit is contained in:
parent
dd16ea87c3
commit
13422b5116
Notes:
sideshowbarker
2024-07-17 07:16:27 +09:00
Author: https://github.com/trflynn89
Commit: 13422b5116
Pull-request: https://github.com/SerenityOS/serenity/pull/24121
Reviewed-by: https://github.com/awesomekling ✅
7 changed files with 15 additions and 22 deletions
|
@ -19,7 +19,7 @@ class VideoTrackList final : public DOM::EventTarget {
|
|||
JS_DECLARE_ALLOCATOR(VideoTrackList);
|
||||
|
||||
public:
|
||||
ErrorOr<void> add_track(Badge<HTMLMediaElement>, JS::NonnullGCPtr<VideoTrack>);
|
||||
void add_track(Badge<HTMLMediaElement>, JS::NonnullGCPtr<VideoTrack>);
|
||||
void remove_all_tracks(Badge<HTMLMediaElement>);
|
||||
|
||||
Span<JS::NonnullGCPtr<VideoTrack>> video_tracks() { return m_video_tracks; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue