aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator/SkAnimateField.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animator/SkAnimateField.cpp')
-rw-r--r--src/animator/SkAnimateField.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animator/SkAnimateField.cpp b/src/animator/SkAnimateField.cpp
index 7aebb78288..c6676e5be7 100644
--- a/src/animator/SkAnimateField.cpp
+++ b/src/animator/SkAnimateField.cpp
@@ -41,7 +41,7 @@ void SkAnimate::dump(SkAnimateMaker* maker) {
SkDebugf("mirror=\"true\" ");
if (fReset)
SkDebugf("reset=\"true\" ");
- SkDebugf("dur=\"%g\" ", SkScalarToFloat(SkScalarDiv(dur,1000)));
+ SkDebugf("dur=\"%g\" ", dur * 0.001);
if (repeat != SK_Scalar1)
SkDebugf("repeat=\"%g\" ", SkScalarToFloat(repeat));
//if (fHasValues)