LibWeb: Make update_animations_and_send_events parameter non-optional

We always have a value for this so there is no need to have it as
optional
This commit is contained in:
Callum Law 2025-11-26 20:48:56 +13:00 committed by Sam Atkins
parent 05b109aa7f
commit b89b453c70
2 changed files with 2 additions and 2 deletions

View file

@ -5309,7 +5309,7 @@ void Document::append_pending_animation_event(Web::DOM::Document::PendingAnimati
}
// https://www.w3.org/TR/web-animations-1/#update-animations-and-send-events
void Document::update_animations_and_send_events(Optional<double> const& timestamp)
void Document::update_animations_and_send_events(double timestamp)
{
// 1. Update the current time of all timelines associated with doc passing now as the timestamp.
//

View file

@ -760,7 +760,7 @@ public:
Optional<double> scheduled_event_time;
};
void append_pending_animation_event(PendingAnimationEvent const&);
void update_animations_and_send_events(Optional<double> const& timestamp);
void update_animations_and_send_events(double timestamp);
void remove_replaced_animations();
WebIDL::ExceptionOr<Vector<GC::Ref<Animations::Animation>>> get_animations();