LibWeb: Prefix AK::Duration with AK Namespace

This commit is contained in:
Andrew Kaster 2024-07-16 23:45:44 -06:00 committed by Sam Atkins
commit b20a1d0fcd
Notes: sideshowbarker 2024-07-18 23:46:42 +09:00
16 changed files with 39 additions and 39 deletions

View file

@ -132,7 +132,7 @@ void HTMLVideoElement::on_paused()
void HTMLVideoElement::on_seek(double position, MediaSeekMode seek_mode)
{
if (m_video_track)
m_video_track->seek(Duration::from_milliseconds(position * 1000.0), seek_mode);
m_video_track->seek(AK::Duration::from_milliseconds(position * 1000.0), seek_mode);
}
// https://html.spec.whatwg.org/multipage/media.html#attr-video-poster