| Index: Source/core/html/shadow/MediaControlElements.cpp
|
| diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
|
| index c76cb41b5b7c02479a8064dffad9e89074f40e5c..03abf2374376372bf9f8ce21ebe58315ec50d193 100644
|
| --- a/Source/core/html/shadow/MediaControlElements.cpp
|
| +++ b/Source/core/html/shadow/MediaControlElements.cpp
|
| @@ -519,7 +519,7 @@ void MediaControlTimelineElement::setPosition(double currentTime)
|
|
|
| void MediaControlTimelineElement::setDuration(double duration)
|
| {
|
| - setAttribute(maxAttr, String::number(std::isfinite(duration) ? duration : 0));
|
| + setFloatingPointAttribute(maxAttr, std::isfinite(duration) ? duration : 0);
|
| }
|
|
|
|
|
|
|