LibWeb: Make processBodyError take an optional exception

Changed here:
018ac19838
This commit is contained in:
Sam Atkins 2023-05-13 12:44:46 +01:00 committed by Andreas Kling
parent ae5bb13f1f
commit 9c2d496dbe
Notes: sideshowbarker 2024-07-16 20:12:13 +09:00
10 changed files with 21 additions and 25 deletions

View file

@ -195,7 +195,7 @@ WebIDL::ExceptionOr<void> HTMLVideoElement::determine_element_poster_frame(Optio
};
VERIFY(response->body().has_value());
auto empty_algorithm = [](auto&) {};
auto empty_algorithm = [](auto) {};
response->body()->fully_read(realm, move(on_image_data_read), move(empty_algorithm), JS::NonnullGCPtr { global }).release_value_but_fixme_should_propagate_errors();
};