mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-19 16:51:52 +00:00
LibJS+LibWeb: Mark a few variables as IGNORE_USE_IN_ESCAPING_LAMBDA
This is a bit noisy, but it'll be better once we upgrade to C++23.
This commit is contained in:
parent
ff00d21d58
commit
d47f656a3a
Notes:
sideshowbarker
2024-07-17 02:23:25 +09:00
Author: https://github.com/mattco98
Commit: d47f656a3a
Pull-request: https://github.com/SerenityOS/serenity/pull/23876
Issue: https://github.com/SerenityOS/serenity/issues/23791
Reviewed-by: https://github.com/awesomekling
4 changed files with 14 additions and 13 deletions
|
@ -821,7 +821,7 @@ WebIDL::ExceptionOr<void> HTMLMediaElement::select_resource()
|
|||
// -> If mode is attribute
|
||||
case SelectMode::Attribute: {
|
||||
auto failed_with_attribute = [this](auto error_message) {
|
||||
bool ran_media_element_task = false;
|
||||
IGNORE_USE_IN_ESCAPING_LAMBDA bool ran_media_element_task = false;
|
||||
|
||||
// 6. Failed with attribute: Reaching this step indicates that the media resource failed to load or that the given URL could not be parsed. Take
|
||||
// pending play promises and queue a media element task given the media element to run the dedicated media source failure steps with the result.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue