| Index: third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
|
| index b83a6018955b9eb8afb3615648e7f4725bf1d7a9..81a6710562ecd65209dc301d6852355f104c1b7a 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
|
| +++ b/third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp
|
| @@ -408,8 +408,6 @@ void MediaControlTimelineElement::defaultEventHandler(Event* event)
|
|
|
| double time = value().toDouble();
|
| if (event->type() == EventTypeNames::input) {
|
| - // FIXME: This will need to take the timeline offset into consideration
|
| - // once that concept is supported, see https://crbug.com/312699
|
| if (mediaElement().seekable()->contain(time))
|
| mediaElement().setCurrentTime(time);
|
| }
|
| @@ -424,6 +422,11 @@ bool MediaControlTimelineElement::willRespondToMouseClickEvents()
|
| return inDocument() && document().isActive();
|
| }
|
|
|
| +void MediaControlTimelineElement::setEarliestPosition(double earliestTime)
|
| +{
|
| + setFloatingPointAttribute(minAttr, earliestTime);
|
| +}
|
| +
|
| void MediaControlTimelineElement::setPosition(double currentTime)
|
| {
|
| setValue(String::number(currentTime));
|
|
|