mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Make HTMLMediaElement::set_decoder_error infallible
This used to propagate an OOM error, but that was removed, and this method can no longer throw.
This commit is contained in:
parent
7c54a32870
commit
dd16ea87c3
Notes:
sideshowbarker
2024-07-17 01:13:25 +09:00
Author: https://github.com/trflynn89
Commit: dd16ea87c3
Pull-request: https://github.com/SerenityOS/serenity/pull/24121
Reviewed-by: https://github.com/awesomekling ✅
4 changed files with 6 additions and 8 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
void queue_a_media_element_task(Function<void()>);
|
||||
|
||||
JS::GCPtr<MediaError> error() const { return m_error; }
|
||||
WebIDL::ExceptionOr<void> set_decoder_error(String error_message);
|
||||
void set_decoder_error(String error_message);
|
||||
|
||||
String const& current_src() const { return m_current_src; }
|
||||
WebIDL::ExceptionOr<void> select_resource();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue