Skip to content

Commit

Permalink
Make test-tidy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Mar 21, 2024
1 parent 108d86f commit 645a5b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/script/dom/htmlmediaelement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,10 +639,10 @@ impl HTMLMediaElement {
// FIXME(nox): Queue a task to fire timeupdate and waiting
// events if the conditions call from the spec are met.

if self.is_potentially_playing()
&& !self.Ended()
&& !self.is_paused_for_in_band_content()
&& !self.is_paused_for_user_interaction()
if self.is_potentially_playing() &&
!self.Ended() &&
!self.is_paused_for_in_band_content() &&
!self.is_paused_for_user_interaction()
{
task_source.queue_simple_event(self.upcast(), atom!("timeupdate"), &window);
task_source.queue_simple_event(self.upcast(), atom!("waiting"), &window);
Expand Down

0 comments on commit 645a5b5

Please sign in to comment.