mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 07:39:16 +00:00
LibWeb: Prefix AK::Duration with AK Namespace
This commit is contained in:
parent
2fa9ec20bd
commit
b20a1d0fcd
Notes:
sideshowbarker
2024-07-18 23:46:42 +09:00
Author: https://github.com/ADKaster
Commit: b20a1d0fcd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/676
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/trflynn89 ✅
16 changed files with 39 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue