mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-18 23:12:02 +00:00
LibWeb/HTML: Don't return any errors for update_the_img_data
There should not be any exceptions to propagate, so let's update the return type accordingly.
This commit is contained in:
parent
3383a781f6
commit
bc85a9bace
Notes:
github-actions[bot]
2025-06-24 07:57:38 +00:00
Author: https://github.com/shannonbooth
Commit: bc85a9bace
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5153
Reviewed-by: https://github.com/gmta ✅
2 changed files with 4 additions and 5 deletions
|
@ -76,7 +76,7 @@ public:
|
|||
void react_to_changes_in_the_environment();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/images.html#update-the-image-data
|
||||
ErrorOr<void> update_the_image_data(bool restart_the_animations = false, bool maybe_omit_events = false);
|
||||
void update_the_image_data(bool restart_the_animations = false, bool maybe_omit_events = false);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/images.html#use-srcset-or-picture
|
||||
[[nodiscard]] bool uses_srcset_or_picture() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue