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:
Timothy Flynn 2024-04-26 11:51:26 -04:00 committed by Tim Flynn
commit dd16ea87c3
Notes: sideshowbarker 2024-07-17 01:13:25 +09:00
4 changed files with 6 additions and 8 deletions

View file

@ -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();