| Index: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| index 924794d6fba2ffb9d6ba7901737c9581fcd63892..e92dd0ad09aa2ab7e182df6c1b72ae79bfe5cfe3 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
|
| @@ -51,10 +51,10 @@
|
| #include "core/svg/SVGViewElement.h"
|
| #include "core/svg/SVGViewSpec.h"
|
| #include "core/svg/animation/SMILTimeContainer.h"
|
| -#include "platform/FloatConversion.h"
|
| #include "platform/LengthFunctions.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/transforms/AffineTransform.h"
|
| +#include "wtf/MathExtras.h"
|
| #include "wtf/StdLibExtras.h"
|
|
|
| namespace blink {
|
| @@ -542,7 +542,7 @@ bool SVGSVGElement::animationsPaused() const
|
|
|
| float SVGSVGElement::getCurrentTime() const
|
| {
|
| - return narrowPrecisionToFloat(m_timeContainer->elapsed());
|
| + return clampTo<float>(m_timeContainer->elapsed());
|
| }
|
|
|
| void SVGSVGElement::setCurrentTime(float seconds)
|
|
|