mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user