Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 35033002: Remove HTMLMediaElement.initialTime (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLMediaElement.h ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index e51a051faec42386bd9aa951f0fecf7f88803293..7e9bba5343054babf2bfcecd9e27fbe3648a4c8d 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -1982,14 +1982,6 @@ void HTMLMediaElement::setCurrentTime(double time, ExceptionState& es)
seek(time, es);
}
-double HTMLMediaElement::initialTime() const
-{
- if (m_fragmentStartTime != MediaPlayer::invalidTime())
- return m_fragmentStartTime;
-
- return 0;
-}
-
double HTMLMediaElement::duration() const
{
if (!m_player || m_readyState < HAVE_METADATA)
« no previous file with comments | « Source/core/html/HTMLMediaElement.h ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698