Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 2a8bc6b446321e6740ccabdf0c2f7afa8509fcaa..81b266d99353828b3618ca9791cd28ea420c22f7 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -1989,7 +1989,7 @@ void HTMLMediaElement::seek(double time, ExceptionState& exceptionState) |
m_seeking = false; |
return; |
} |
- time = seekableRanges->nearest(time); |
+ time = seekableRanges->nearest(time, now); |
if (m_playing) { |
if (m_lastSeekTime < now) |