Index: Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp |
index 9548bc89dbaf6effde2533020357b98219b5f8c5..a1d796284bd01b28b1c59504cd042782862d5c91 100644 |
--- a/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -774,7 +774,7 @@ SMILTime SVGSMILElement::repeatCount() const |
computedRepeatCount = SMILTime::indefinite(); |
} else { |
bool ok; |
- double result = value.string().toDouble(&ok); |
+ double result = value.toDouble(&ok); |
if (ok && result > 0) |
computedRepeatCount = result; |
} |