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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp

Issue 1415683009: Support earliest seekable time in WMPI. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more androidfixes. Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
index 5ae1bf111926b3e06c1b2177035ac8772c686334..151a0d736630fa77a7a80eac8fc9a84f7e258160 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.cpp
@@ -250,6 +250,7 @@ void MediaControls::reset()
updateCurrentTimeDisplay();
+ m_timeline->setEarliestPosition(mediaElement().earliestTime());
m_timeline->setDuration(duration);
m_timeline->setPosition(mediaElement().currentTime());

Powered by Google App Engine
This is Rietveld 408576698