Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 6bbaa55e159f88b6aba19211a46898769f8962ff..e51a051faec42386bd9aa951f0fecf7f88803293 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -1982,11 +1982,6 @@ void HTMLMediaElement::setCurrentTime(double time, ExceptionState& es) |
seek(time, es); |
} |
-double HTMLMediaElement::startTime() const |
-{ |
- return 0; |
-} |
- |
double HTMLMediaElement::initialTime() const |
{ |
if (m_fragmentStartTime != MediaPlayer::invalidTime()) |
@@ -3059,7 +3054,7 @@ void HTMLMediaElement::mediaPlayerTimeChanged() |
if (loop() && !m_mediaController) { |
m_sentEndEvent = false; |
// then seek to the earliest possible position of the media resource and abort these steps. |
- seek(startTime(), IGNORE_EXCEPTION); |
+ seek(0, IGNORE_EXCEPTION); |
} else { |
// If the media element does not have a current media controller, and the media element |
// has still ended playback, and the direction of playback is still forwards, and paused |
@@ -3829,7 +3824,7 @@ bool HTMLMediaElement::isBlockedOnMediaController() const |
// position relative to the MediaController's timeline or after the end of the media resource |
// relative to the MediaController's timeline. |
double mediaControllerPosition = m_mediaController->currentTime(); |
- if (mediaControllerPosition < startTime() || mediaControllerPosition > startTime() + duration()) |
+ if (mediaControllerPosition < 0 || mediaControllerPosition > duration()) |
return true; |
return false; |