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

Unified Diff: Source/core/html/shadow/MediaControlElements.cpp

Issue 84713002: Add number() static methods to AtomicString class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/core/html/shadow/MediaControlElements.cpp
diff --git a/Source/core/html/shadow/MediaControlElements.cpp b/Source/core/html/shadow/MediaControlElements.cpp
index c76cb41b5b7c02479a8064dffad9e89074f40e5c..ab19ea83b84e095b18217f6e46509e6cf2ecd879 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));
+ setAttribute(maxAttr, AtomicString::number(std::isfinite(duration) ? duration : 0));
}

Powered by Google App Engine
This is Rietveld 408576698